Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > Using "webpack" config function defined in next.config.js.
- { Error: commons.js from UglifyJs
- SyntaxError: Unexpected token: name (Routes) [commons.js:66085,6]
- at /node_modules/next/dist/server/build/index.js:122:21
- at /node_modules/webpack/lib/Compiler.js:256:15
- at Compiler.emitRecords (/node_modules/webpack/lib/Compiler.js:348:37)
- at /node_modules/webpack/lib/Compiler.js:249:12
- at /node_modules/webpack/lib/Compiler.js:341:11
- at next (/node_modules/tapable/lib/Tapable.js:154:11)
- at Compiler.compiler.plugin (/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
- at Compiler.applyPluginsAsyncSeries1 (/node_modules/tapable/lib/Tapable.js:158:13)
- at Compiler.afterEmit (/node_modules/webpack/lib/Compiler.js:338:8)
- at Compiler.<anonymous> (/node_modules/webpack/lib/Compiler.js:333:14)
- errors: [ 'commons.js from UglifyJs\nSyntaxError: Unexpected token: name (Routes) [commons.js:66085,6]' ],
- warnings: [] }
- error Command failed with exit code 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement