You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/08/01 11:24:17 UTC
[GitHub] STILLSHI opened a new issue #3218: npm run build failed
STILLSHI opened a new issue #3218: npm run build failed
URL: https://github.com/apache/incubator-superset/issues/3218
Make sure these boxes are checked before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if any
- [ ] I have reproduced the issue with at least the latest released version of superset
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar
### Superset version
superset@0.18.5
### Expected results
I made some change to the labels in visTypes.js and try to run the npm run build
### Actual results
ERROR in dashboard.b73167600c8e473ac1af.entry.js from UglifyJs
Unexpected token: name (ARRAY_TYPE) [dashboard.b73167600c8e473ac1af.entry.js:47990,4]
ERROR in explore.05e0dff1c0743e3f086d.entry.js from UglifyJs
Unexpected token: name (ARRAY_TYPE) [explore.05e0dff1c0743e3f086d.entry.js:47657,4]
npm ERR! Linux 4.4.0-79-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! superset@0.18.5 build: `NODE_ENV=production webpack --colors --progress`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the superset@0.18.5 build script 'NODE_ENV=production webpack --colors --progress'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the superset package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=production webpack --colors --progress
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs superset
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls superset
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/ZYDATA/zypy99/lib/python3.5/site-packages/superset/static/assets/npm-debug.log
### Steps to reproduce
1. modify the visType.js with some of the strings
2. run npm run build
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services