使用npm install 时出现上面的问题,使用下面的命令清理缓存

npm cache clean --force

出现以下提示表示清除成功

注意:先删除已经安装的node_modules,然后重新npm install

运行后如果出现了Error: EBUSY: resource busy or locked, symlink 'C:\Users…,请参考另一篇文章Error: EBUSY: resource busy or locked

SyntaxError: Unexpected end of JSON input (file: C:\Users\admin\Desktop\...)相关推荐

  1. 【解决】Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse

    ajax获取不到数据: 问题描述: VM379:1 Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse ( 原因分析: 1 ...

  2. 微信小程序报SyntaxError: Unexpected end of JSON input

    微信小程序报SyntaxError: Unexpected end of JSON input 这个错误是因为在路由传参的时候 微信小程序解析出来没有正确识别的字符 H5端可以正确使用 解决方法 le ...

  3. 微信小程序 - 页面跳转传参 JSON.parse 解析失败报错(SyntaxError: Unexpected end of JSON input)解决方案

    报错信息 报错原因 特殊字符:英文(半角)状态的 单引号 ' 双引号" 斜杠 \ 反斜杠 / and符号& 大于号 > 小于号 < 空格等. 常见的场景是页面携带的参数中 ...

  4. php,ajax -->Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>)

    解决方案: 1.查找页面是否有注释.输出语句,若有,则删除 2.查看php mysql语句是否有错误(php语句是否存在报错,可以先将JSON.parse()语句注释) 3.将echo json_en ...

  5. webpack安装报错(Unexpected end of JSON input while parsing near '...e6139ad7957,tarball')

    解决方法: 直接执行命令: npm npm cache clean --force 安装成功:

  6. 解决报错SyntaxError:Unexpected end of JSON input

    跳转页面传递参数 var selectWorker = JSON.stringify(selectWorker); uni.navigateTo({url: '../recordForm/record ...

  7. nodejs学习笔记--Unexpected end of JSON input while parsing near ‘...“解决方法

    Unexpected end of JSON input while parsing near '-"解决方法 在学习nodejs时,用命令行工具执行npm install xxx,经常卡住 ...

  8. 解决npm ERR! Unexpected end of JSON input while parsing near...的方法

    今天在创建项目的时候,发现一直创建不成功,安装项目依赖的时候报错:npm ERR! Unexpected end of JSON input while parsing near- 具体报错详情: 经 ...

  9. Unexpected end of JSON input while parsing near

    CMD报错是这样的 看真正的日志后,Unexpected end of JSON input while parsing near 运行:npm cache clean --force: 即可解决出现 ...

最新文章

  1. len(x) 击败 x.len(),从内置函数看 Python 的设计思想
  2. Python安装PyOpenGL
  3. gdb常用命令及参考文档
  4. SAP Spartacus pagefold学习笔记
  5. Qt的安装和使用中的常见问题(详细版)
  6. 《老子》中国古代先秦诸子百家经典欣赏
  7. 《Adobe Illustrator CC经典教程》—第0课0.2节使用Adobe Creative Cloud进行同步设置
  8. 【图像加密】基于matlab混沌算法图像加密解密【含Matlab源码 1218期】
  9. mysql cluster error 4010 157_关于mysql-cluster的一些问题想讨教各位经验人事
  10. 性能优化大牛 Brendan Gregg 的新书要来了
  11. 黑马程序员-随笔-我与程序员
  12. [转载]论原著中白飞飞和朱七七两大奇女子
  13. [Java,IDEA]连接oracle的关于oracle.jdbc.driver.OracleDriver一直驱动加载失败的原因
  14. linux重启数据库11g,linux下重启oracle数据库
  15. 你以为链家只是一个中介,但其实……
  16. DBeaver Read-only:No corresponding table column
  17. 【计算机网络】负载均衡
  18. 网络其他计算机无法访问,win7局域网别人无法访问我的电脑是为什么_win7其他电脑无法访问我的电脑如何修复-win7之家...
  19. 浅谈一下汽车行业中的OTA/FOTA/SOTA
  20. 买外链,seo发外链,外链发布平台有哪些?

热门文章

  1. Windows7(64位)环境下安装openssl详细步骤+图解(亲测有效分享)
  2. 如何成为一名Java高手?月薪3K到17K,他做了什么?
  3. 达梦数据库通过dmp文件导入数据
  4. php怎么对音乐文件实施分类,对音乐进行分类
  5. springboot数据源配置【druid、Hikari】
  6. 使农村宽带民主化正在使它变得比原来更难
  7. PHP TS 和 NTS 版本选择
  8. YUM源安装,在线YUM,本地YUM
  9. 入坑级C语言(超级无敌噼里啪啦细)!!!
  10. rk3568 android11 的 device架构学习纪要