New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install echarts using github link #13091
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer. If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions. If you are interested in the project, you may also subscribe our mail list. Have a nice day! 🍵 |
npm install echarts --save |
Unfortunately I cannot use NPM Package. Is there any way to install plugin thrown link? For example npm install https://github.com/apache/incubator-echarts#4.8.0 |
maybe just use dist/echarts.min.js or use cdn https://cdnjs.cloudflare.com/ajax/libs/echarts/4.8.0/echarts.min.js ? |
So, there is no way to install echarts via NPM by direct link to the GitHub repo?
|
@sgurin It can be installed as follows. npm install https://github.com/apache/incubator-echarts.git#4.8.0 |
Ok. Why the packages are different? There is lib folder if I install echarts |
The npm run release Hope that helps. |
Yeap, That exactly what I asked for. |
Version
4.8.0
Steps to reproduce
I was trying to install echarts using GitHub link https://github.com/apache/incubator-echarts#4.8.0 and there is no any lib folder. Also, missing main directive for NPM.
What is expected?
Ok
What is actually happening?
ERROR Failed to compile with 49 errors
These relative modules were not found:
./lib/chart/bar in ./node_modules/echarts/index.js
./lib/chart/boxplot in ./node_modules/echarts/index.js
./lib/chart/candlestick in ./node_modules/echarts/index.js
./lib/chart/custom in ./node_modules/echarts/index.js
./lib/chart/effectScatter in ./node_modules/echarts/index.js
./lib/chart/funnel in ./node_modules/echarts/index.js
./lib/chart/gauge in ./node_modules/echarts/index.js
./lib/chart/graph in ./node_modules/echarts/index.js
If package was downloaded via NPM it has lib folder. Unfortunately I cannot use NPM. What I am doing wrong?
The text was updated successfully, but these errors were encountered: