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