vue-schart:vue.js封装sChart.js的图表组件——踩坑

497 阅读1分钟

新成员git上拉项目,npm install的时候报错

ies to the actual version of core-js@3.\ npm ERR! code E404\ npm ERR! 404 Not Found - GET <http://192.168.55.139:4873/schart.js/-/schart.js-3.0.4.tgz> - no such file available\ npm ERR! 404\ npm ERR! 404 'schart.js@<http://192.168.55.139:4873/schart.js/-/schart.js-3.0.4.tgz>' is not in the npm registry.\ npm ERR! 404 You should bug the author to publish it (or use the name yourself!)\ npm ERR! 404\ npm ERR! 404 Note that you can also install from a\ npm ERR! 404 tarball, folder, http url, or git url.\

找不到schart.js

解决

npm view schart.js

1.png

安装 npm install registry.npmjs.org/schart.js/-…

最后再npm install