当前位置:网站首页>Solve the problem of NPM I installation errors
Solve the problem of NPM I installation errors
2022-07-20 00:14:00 【Half a lifetime】
This time Involving error reporting information
Question 1 :
npm ERR! Unexpected end of JSON input while parsing near '...uQGX+dC\r\nUVgNSft8LN'
Question two :
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
Issues an error
npm ERR! Unexpected end of JSON input while parsing near ‘…uQGX+dC\r\nUVgNSft8LN’
npm ERR! A complete log of this run can be found in:
npm ERR!C:\Users\Lenovo\AppData\Roaming\npm-cache_logs\2022-07-15T01_39_44_665Z-debug.log
reason : Maybe before npm i
when Problems such as stopping halfway occur , Need to clean up the cache
Solution :
Direct execution npm cache clean --force
, If it works , Re execution npm install
that will do .
If Can not be Just perform the above operations a few more times
problem :
Then followed by an error
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall:node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Lenovo\AppData\Roaming\npm-cache_logs\2022-07-15T01_48_51_367Z-debug.log
Cause analysis :
This error occurs because sass Getting the source during installation , modify sass Installed source .
terms of settlement : Use taobao Of npm
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
enter
npm i
that will do
边栏推荐
- The concept and use of index
- DDD领域驱动设计如何进行工程化落地
- Agent of skywalking series learning collects trace data
- 哪家公司适合期货开户?请问2022年有哪些安全可靠的期货平台?
- R语言ggplot2可视化:使用ggplot2可视化散点图、使用ggpubr包的clean_theme函数设置可视化图像为干净利落主题(移除坐标轴线、刻度线、文本标签、标题等)
- R语言因子数据的表格和列联表(交叉表)生成:使用table函数将单个因子变量呈现为表格、两个因子变量呈现为列联表
- Path相关评论的方法(一)
- 相似度計算公式
- 马尔可夫链
- Ribbon负载均衡深入探究
猜你喜欢
How to carry out engineering implementation of DDD Domain Driven Design
MMpose代码讲解之关键点Heatmap可视化
Embedding
Competition · 6120 How many pairs of arrays can be formed? Enumeration
关于游戏背景图的调整,读这篇文章就够了
让程序员早点下班的《技术写作指南》
万物皆可Cassandra:HUAWEI Tag背后的神仙数据库
Jetson nano到底是个怎样的产品?(Jetson nano性能如何)
Module VII
[Harbin Engineering University] postgraduate entrance examination preliminary examination and re examination data sharing
随机推荐
相似度計算公式
Step sequencer of logic Pro tutorial (very detailed)
MySQL数据库数据目录满了,能否再在其他路径下放置数据文件?
How to build and analyze the learning environment of skywalking series
【无标题】
查找日期位于一年中的第几天
重磅!曾学忠升任展锐副董事长兼CEO,楚庆任出任联席CEO!
浏览器 滚动到顶部;滚动到底部
在线问题反馈模块实战(六):接口文档定义
Flask database Sqlalchemy
Technical writing guide for programmers to leave work early
flask-闪现消息
Differences in recorded contents between regular query logs and slow query logs
Ribbon负载均衡深入探究
MySQL中select语句的执行过程
Similarity calculation formula
1该方法用于获取两个整数之间的随机整数;2获得一组数的平均值
最最最简单的的复制粘贴方法使用
43:第四章:开发文件服务:4:创建子工程【imooc-news-dev-service-files】,文件服务模块;(这个模块,将作为文件服务模块)
Introduce several well-known workflow system software