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

Unexpected character '`' #52

Closed
jason-ivy opened this issue Sep 6, 2017 · 3 comments
Closed

Unexpected character '`' #52

jason-ivy opened this issue Sep 6, 2017 · 3 comments

Comments

@jason-ivy
Copy link
Contributor

index.js
console.error(Check ${Cmp.name} component.);

@colin3dmax
Copy link

has the same problem

$ npm run build

with-redux@1.0.0 build /Users/Developer/Downloads/with-redux
next build

Failed to build on /var/folders/jc/m_1m76vx24bb64yct5k5_nc40000gn/T/861e16e3-3be8-45da-9ea0-79c169323bfc
{ Error: commons.js from UglifyJs
Unexpected character '' [commons.js:13978,30] at /Users/Developer/Downloads/with-redux/node_modules/next/dist/server/build/index.js:182:21 at emitRecords.err (/Users/Developer/Downloads/with-redux/node_modules/webpack/lib/Compiler.js:269:13) at Compiler.emitRecords (/Users/Developer/Downloads/with-redux/node_modules/webpack/lib/Compiler.js:375:38) at emitAssets.err (/Users/Developer/Downloads/with-redux/node_modules/webpack/lib/Compiler.js:262:10) at applyPluginsAsyncSeries1.err (/Users/Developer/Downloads/with-redux/node_modules/webpack/lib/Compiler.js:368:12) at next (/Users/Developer/Downloads/with-redux/node_modules/tapable/lib/Tapable.js:218:11) at Compiler.compiler.plugin (/Users/Developer/Downloads/with-redux/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4) at Compiler.applyPluginsAsyncSeries1 (/Users/Developer/Downloads/with-redux/node_modules/tapable/lib/Tapable.js:222:13) at Compiler.afterEmit (/Users/Developer/Downloads/with-redux/node_modules/webpack/lib/Compiler.js:365:9) at require.forEach.err (/Users/Developer/Downloads/with-redux/node_modules/webpack/lib/Compiler.js:360:15) errors: [ 'commons.js from UglifyJs\nUnexpected character \'' [commons.js:13978,30]' ],
warnings: [] }

@jason-ivy jason-ivy mentioned this issue Sep 6, 2017
@jason-ivy
Copy link
Contributor Author

@colin3dmax you can use the 1.3.2

@colin3dmax
Copy link

@jason-ivy Thank you,use 1.3.2 solved my problem.

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

2 participants