Uncaught TypeError: Failed to resolve module specifier "@antv/l7". Relative references must start with either "/", "./", or "../".


已经下载了antv到node_modules下面,我的项目demo1和node_modules的关系如下:

 而正确的目录树:

https://stackoverflow.com/questions/63069163/uncaught-typeerror-failed-to-resolve-module-specifier-tslib-relative-referen

https://medium.com/@collectiveacuity/how-to-setup-a-jquery-project-as-a-node-module-50abbc274113

又有了新错误。。跨域:

https://blog.csdn.net/qq_44163269/article/details/105116173

 

npm start启动出错,缺少script。。。填写了"start":"node index.html",之后npm start

突然想起来。。当时npm install的时候是在C:/users/administrator目录下,是不是应该在工程目录下?安装?


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM