npm ERR! Unexpected end of JSON input while parsing near" "
程序员文章站
2022-05-30 16:34:05
...
今天在做项目的时候不小心删了node包结果就一直报错,,,,初始化也么用。。。
npm ERR! Unexpected end of JSON input while parsing near '..."klaw":"^1.0.0","pa
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lenovo\AppData\Roaming\npm-cache\_logs\2018-07-05T06_29_06
解决方案:
1、
npm cache clean --force
2、
npm install --registry=https://registry.npm.taobao.org
这样问题就解决了。。。
上一篇: 数据库设计三大范式应用实例剖析
下一篇: 元素的ID的相关知识文章推荐
推荐阅读
-
Unexpected end of JSON input while parsing near错误
-
亲测解决npm ERR! Unexpected end of JSON input while parsing near...的方法
-
npm ERR! Unexpected end of JSON input while parsing near
-
npm ERR! Unexpected end of JSON input while parsing near '...Rg9e9zaVBZ
-
“Unexpected end of JSON input while parsing near···”错误解决方案
-
解决npm ERR! Unexpected end of JSON input while parsing near的报错问题
-
Unexpected end of JSON input while parsing near
-
vue npm安装webpack报错:Unexpected end of JSON input while parsing near
-
Unexpected end of JSON input while parsing near错误
-
npm install出现Unexpected end of JSON input while parsing near错误解决方法