wooram1125 opened a new issue #9512: Module parse failed: Unexpected token URL: https://github.com/apache/incubator-superset/issues/9512 ### Actual results ``` NODE_ENV=development BABEL_ENV=development node --max_old_space_size=4096 ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development --progress Starting type checking service... Using 1 worker with 2048MB memory limit 12% building 17/17 modules 0 active[HPM] Proxy created: / -> http://localhost:8088 i 「wds」: Project is running at http://localhost:9000/ i 「wds」: webpack output is served from /static/assets/ i 「wds」: Content not from webpack is served from C:\Users\wooram\wooram\temp\incubator-superset\static\assets i 「wds」: 404s will fallback to /index.html 98% after emitting SizeLimitsPluginType checking in progress... × 「wdm」: 739 modules 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/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/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')); | i 「wdm」: Failed to compile. No type errors found Version: typescript 3.8.3 Time: 35172ms ``` #### How to reproduce the bug I followed according to the [manual](https://github.com/apache/incubator-superset/blob/master/CONTRIBUTING.md). ### Environment - OS: window 10 - superset version: `0.999.0dev` - python version: `Python 3.6.8` - node.js version: `v8.11.1` - npm version: `6.8.0` ### Checklist 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 there are any. - [] 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.
---------------------------------------------------------------- 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]
