Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error while building kickstart project . #31

Open
srv-smn opened this issue Apr 26, 2020 · 0 comments
Open

getting error while building kickstart project . #31

srv-smn opened this issue Apr 26, 2020 · 0 comments

Comments

@srv-smn
Copy link

srv-smn commented Apr 26, 2020

while running npm run build in kickstart project , I am getting error

Failed to build on C:\Users\SOURAV~1\AppData\Local\Temp\53b6d83f-30ac-4b07-91c9-0cc0bef8f857 Error: commons.js from UglifyJs Unexpected token keyword «function», expected punc «,» [commons.js:31221,28] at F:\EthereumCasts\kickstart\node_modules\next\dist\server\build\index.js:182:21 at F:\EthereumCasts\kickstart\node_modules\webpack\lib\Compiler.js:269:13 at Compiler.emitRecords (F:\EthereumCasts\kickstart\node_modules\webpack\lib\Compiler.js:375:38) at F:\EthereumCasts\kickstart\node_modules\webpack\lib\Compiler.js:262:10 at F:\EthereumCasts\kickstart\node_modules\webpack\lib\Compiler.js:368:12 at next (F:\EthereumCasts\kickstart\node_modules\tapable\lib\Tapable.js:218:11) at Compiler.<anonymous> (F:\EthereumCasts\kickstart\node_modules\webpack\lib\performance\SizeLimitsPlugin.js:99:4) at Compiler.applyPluginsAsyncSeries1 (F:\EthereumCasts\kickstart\node_modules\tapable\lib\Tapable.js:222:13) at Compiler.afterEmit (F:\EthereumCasts\kickstart\node_modules\webpack\lib\Compiler.js:365:9) at F:\EthereumCasts\kickstart\node_modules\webpack\lib\Compiler.js:354:15 { errors: [ 'commons.js from UglifyJs\n' + 'Unexpected token keyword «function», expected punc «,» [commons.js:31221,28]' ], warnings: [] } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build:next build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Sourav Suman\AppData\Roaming\npm-cache_logs\2020-04-26T03_15_14_433Z-debug.log`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant