How to add Echarts to the Superset(0.35.2)?

See original GitHub issue

I install superset by pip(pip install apache-superset). However, the code is inconsistent with the github(assets and static/assets), so I am confused about it because I can not find the src directory when i run the npm command.

(superset_env) root@Ubuntu-cxt:~/superset_env/lib/python3.6/site-packages/superset/assets# npm run dev

> superset@0.35.2 dev /root/superset_env/lib/python3.6/site-packages/superset/assets
> webpack --mode=development --colors --progress --debug --watch

10% building 0/0 modules 0 active
webpack is watching the files…


Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.

Hash: fbf46623c69bc2a8e3db
Version: webpack 4.42.0
Time: 54ms
Built at: 03/09/2020 9:53:47 AM

ERROR in Entry module not found: Error: Can't resolve './src' in '/root/superset_env/lib/python3.6/site-packages/superset/assets'

I don’t know how to deal with it. Hope to get the answer!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
willbarrettcommented, Mar 10, 2020

Hi @DilicelSten. Thanks for reaching out to the community. There has been a reorganization of the repository since 0.35.2 was released - you can find the code for 0.35.2 at https://github.com/apache/incubator-superset/tree/7cb3d3b5d2e05f98f0683bc72514e4d9f4ce13f8. It seems like you’re trying to do something quite sophisticated, so I thought the best thing I could do to help would be to point you to the proper source files. I hope that helps! Let us know if you have further questions.

0reactions
WenQiangWcommented, Mar 27, 2020

@DilicelSten need run build front

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add Echarts to the Superset(0.35.2)? #9270 - GitHub
I install superset by pip(pip install apache-superset). However, the code is inconsistent with the github(assets and static/assets), ...
Read more >
Installing From Scratch - Apache Superset
Installing and Initializing Superset​. First, start by installing apache-superset : pip install apache-superset
Read more >
apache-superset 0.35.2 - PyPI
Easy, code-free, user flows to drill down and slice and dice the data underlying exposed dashboards. The dashboards and charts acts as a ......
Read more >
Exploring data with Apache Superset - Read the Docs
Select the Save as option, and enter the chart name as Tutorial Table (you will be able to find it again through the...
Read more >
Unable to change datasource in charts in Superset
Did you find any workaround for this ? Or got to know what is the error. I am also facing the same issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found