You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I have checked the issue tracker for the same issue and I haven't found one similar.
Superset version
0.28
Expected results
able to run react in dev mode
Actual results
unable to run react in dev mod
Steps to reproduce
go to the folder superset/lib/static/assets and give command
npm run dev-server
get the following errors
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/SqlLab/index.jsx
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/SqlLab/index.jsx' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/SqlLab/index.jsx sqllab[3]
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/addSlice/index.jsx
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/addSlice/index.jsx' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/addSlice/index.jsx addSlice[3]
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js ./src/common.js
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/common.js' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js ./src/common.js common[2]
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/dashboard/index.jsx
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/dashboard/index.jsx' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/dashboard/index.jsx dashboard[3]
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/explore/index.jsx
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/explore/index.jsx' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/explore/index.jsx explore[3]
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/profile/index.jsx
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/profile/index.jsx' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/profile/index.jsx profile[3]
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js ./src/theme.js
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/theme.js' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js ./src/theme.js theme[2]
ERROR in multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/welcome/index.jsx
Module not found: Error: Can't resolve '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets/src/welcome/index.jsx' in '/home/faraz/ENV/lib/python3.6/site-packages/superset/static/assets'
@ multi (webpack)-dev-server/client?http://localhost:9000 (webpack)/hot/dev-server.js babel-polyfill ./src/welcome/index.jsx welcome[3]
Please tell me how to fix these errors and be able to make changes in react in dev mode.
or maybe tell me where it is mentioned in the documentation
I have been trying it for quite some time now and was unable to do so.
The text was updated successfully, but these errors were encountered:
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.28
Expected results
able to run react in dev mode
Actual results
unable to run react in dev mod
Steps to reproduce
go to the folder superset/lib/static/assets and give command
npm run dev-server
get the following errors
Please tell me how to fix these errors and be able to make changes in react in dev mode.
or maybe tell me where it is mentioned in the documentation
I have been trying it for quite some time now and was unable to do so.
The text was updated successfully, but these errors were encountered: