toop opened a new issue #9450: npm run prod error at 0.36.0rc3 URL: https://github.com/apache/incubator-superset/issues/9450 superset version: 0.36.rc2 python version: 3.7.7 node.js version: 12.16.1 npm version: 6.11.3 F:\superset-dev\superset-frontend>npm run prod > [email protected] prod F:\superset-dev\superset-frontend > node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --mode=production --colors --progress Starting type checking service... Using 1 worker with 2048MB memory limit 591 modules ERROR in ./src/SqlLab/index.jsx 23:16 Module parse failed: Unexpected token (23:16) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | import App from './App'; | > ReactDOM.render(<App />, document.getElementById('app')); | ERROR in ./src/welcome/index.jsx 23:16 Module parse failed: Unexpected token (23:16) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | import App from './App'; | > ReactDOM.render(<App />, document.getElementById('app')); | ERROR in ./src/profile/index.jsx 23:16 Module parse failed: Unexpected token (23:16) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | import App from './App'; | > ReactDOM.render(<App />, document.getElementById('app')); | ERROR in ./src/addSlice/index.jsx 23:16 Module parse failed: Unexpected token (23:16) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | import App from './App'; | > ReactDOM.render(<App />, document.getElementById('js-add-slice-container')); | ERROR in ./src/showSavedQuery/index.jsx 39:4 Module parse failed: Unexpected token (39:4) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | | ReactDom.render( > <div> | <Form | schema={config.JSONSCHEMA} ERROR in ./src/dashboard/index.jsx 42:16 Module parse failed: Unexpected token (42:16) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | ); | > ReactDOM.render(<App store={store} />, document.getElementById('app')); | ERROR in ./src/explore/index.jsx 44:16 Module parse failed: Unexpected token (44:16) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | ); | > ReactDOM.render(<App store={store} />, document.getElementById('app')); | npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! [email protected] prod: `node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --mode=production --colors --progress` npm ERR! Exit status 2 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! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-04-02T10_02_26_178Z-debug.log
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
