Make sure these boxes are checked before submitting your issue - thank you!

- [x] I have checked the superset logs for python stacktraces and included it 
here as text if any
- [x] I have reproduced the issue with at least the latest released version of 
superset
- [x] I have checked the issue tracker for the same issue and I haven't found 
one similar


### Superset version
0.28.0rc6

### Expected results
to generate optimized css and js for production

### Actual results
```
 [email protected] prod /root/incubator-superset/superset/assets
> node --max_old_space_size=4096 webpack --mode=production --colors --progress

module.js:550
    throw err;
    ^

Error: Cannot find module '/root/incubator-superset/superset/assets/webpack'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prod: `node --max_old_space_size=4096 webpack 
--mode=production --colors --progress`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] prod 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!     /root/.npm/_logs/2018-09-29T15_52_52_501Z-debug.log
(venv) root@ubuntu-dev-only:~/incubator-superset/superset/assets# 
```
### Steps to reproduce
- I tried with node@6, node@8, and latest node and still no luck.
- I tried on mac and also ubuntu and still same error




[ Full content available at: 
https://github.com/apache/incubator-superset/issues/6010 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to