superset icon indicating copy to clipboard operation
superset copied to clipboard

Problems encountered in superset 0.28.1 integrated echarts

Open Llyfighting opened this issue 7 years ago • 6 comments

ERROR in ./src/visualizations/index.js 85:19
Module parse failed: Unexpected token (85:19)
You may need an appropriate loader to handle this file type.
| var loadNvd3 = function () {
|   function loadNvd3() {
>     return loadVis(import( /* webpackChunkName: "nvd3_vis" */'./nvd3/adaptor.jsx'));
|   }
| 
 @ ./src/modules/AnnotationTypes.js 17:22-50
 @ ./src/chart/chartAction.js
 @ ./src/explore/components/ExploreViewContainer.jsx
 @ ./src/explore/App.jsx
 @ ./src/explore/index.jsx
 @ multi babel-polyfill ./src/explore/index.jsx

Hello, every time I run 'npm run dev' to 92% it will report this error, I would like to ask why this is, looking forward to your guidance. Thanks

Llyfighting avatar Feb 16 '19 09:02 Llyfighting

Same here.. Getting this issue.. on 0.28.1

kirankumarpv avatar Feb 19 '19 19:02 kirankumarpv

I've solved this problem. It's due to the lack of packages. Go into the superset/static/assets directory and run'npm run dev'. You can see my notes for details, but it's in Chinese.https://blog.csdn.net/qq_33172735

Llyfighting avatar Feb 25 '19 08:02 Llyfighting

@Llyfighting How to contact you? I'd like to ask you some questions,Thanks!

mildrabbit avatar Feb 26 '19 01:02 mildrabbit

You can contact me through Netease mailbox [email protected]

Llyfighting avatar Feb 27 '19 05:02 Llyfighting

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar May 14 '19 20:05 stale[bot]

@Llyfighting Can you help me? when i run occur an question like your blog, but i run can't pass it, so i need help, can you give your contact information. TKS

zpi1223 avatar May 23 '19 10:05 zpi1223