Next.js Discord

Discord Forum

deployment failure for nextjs, yarn build not working, version update from 16 to 18 node not working

Unanswered
Anamika posted this in #help-forum
Open in Discord
[00:41:36] Running build in Washington, D.C., USA (East) – iad1 (Hive)
[00:41:36] Cloning github.com/anamiikajha/anamikajha-website (Branch: master, Commit: 9e3c8a6)
[00:41:42] Browserslist: caniuse-lite is outdated. Please run:
[00:41:42] npx browserslist@latest --update-db
[00:41:42]
[00:41:42] Why you should do it regularly:
[00:41:42] 'unexpected-closing-slash',
[00:41:42] position: {
[00:41:42] start: { line: 11, column: 2, offset: 471, _index: 4, _bufferIndex: 1 },
[00:41:42] end: { line: 11, column: 3, offset: 472, _index: 4, _bufferIndex: 2 }
[00:41:42] }
[00:41:42] }
[00:41:42] error Command failed with exit code 1.
[00:41:42] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[00:41:42] Error: Command "yarn run build" exited with 1


Getting deployment failure

2 Replies