今天在做項目的時候不小心刪了node包結果就一直報錯,,,,初始化也么用。。。
npm ERR! Unexpected end of JSON input while parsing near '....0","extract-text-web'
解決方案:
1、
npm cache clean --force
2、
npm install --registry=https://registry.npm.taobao.org
這樣問題就解決了。。。
今天在做項目的時候不小心刪了node包結果就一直報錯,,,,初始化也么用。。。
npm ERR! Unexpected end of JSON input while parsing near '....0","extract-text-web'
解決方案:
1、
npm cache clean --force
2、
npm install --registry=https://registry.npm.taobao.org
這樣問題就解決了。。。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。