node
迷途大灰狼
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
解决npm ERR! Unexpected end of JSON input while parsing near的方法汇总
npm ERR! Unexpected end of JSON input while parsing near 这个错误的解决方法有以下几种: 1.删掉package.lock.json 2.清除cache npm cache clean --force 3.进入下面这个文件夹清除cache 路径:C:/Users/PC/AppData/Roaming/npm-cache 执行: npm cache clean --force 4.不要用淘宝镜像 npm set regist.转载 2021-03-17 15:11:21 · 1209 阅读 · 1 评论 -
安装node库时报错node-sass@4.12.0 postinstall: `node scripts/build.js`
最近安装node库经常遇到这种报错:node-sass@4.12.0 postinstall: `node scripts/build.js` 可以设置一下npm淘宝镜像,然后用cnpm来重新安装库 npm install -g cnpm --registry=https://registry.npm.taobao.org转载 2020-05-25 10:36:24 · 2634 阅读 · 0 评论 -
【前端项目部署错误】npm ERR! notarget No matching version found for event-stream@3.3.6
npm install初始化项目时出现如下错误,试过升级npm版本等很多方法都不能解决。 No matching version found for event-stream@3.3.6 说明没有匹配的版本,去官网https://www.npmjs.com/搜索这个包查看它的所有版本,然而,并没有这个3.3.6。。。 最后发现原因在于package-lock.json 文件出了...转载 2019-12-03 11:16:31 · 8596 阅读 · 0 评论
分享