使用npm build、build、npm run-scripts build都失败了。。
我是使用的Leaflet-master下载的github仓库啊
使用npm install?npm install和npm run build的区别?
当运行npm install之后,在node_modules下下载了很多依赖库
但是使用"build": "npm run rollup && npm run uglify",失败了
看上面的提示,npm ERR! leaflet@1.7.1 rollup:'rollup -c build/rollup-config.js',查看build/rollup-config.js。。如何调试呢?怎么知道问题出在哪里?
Leaflet/CONTRIBUTING.md
Contributing to Leaflet
Getting Involved
Reporting Bugs
Contributing Code
Running the Tests
Improving Documentation
Code of Conduct
Thank You
Getting Involved
Third-party patches are absolutely essential in our quest to create the best mapping library that will ever exist. However, they're not the only way to get involved with Leaflet development. You can help the project tremendously by discovering and reporting bugs; improving documentation; helping others on Stack Overflow, GIS Stack Exchange and GitHub issues; tweeting to @LeafletJS; and spreading the word about Leafle