npm报错Failed at the node-sass@4.14.1 postinstall script
目录
- 一、问题描述
- 二、解决方法
- 1.卸载 node-sass
- 2.重新安装 node-sass
一、问题描述
npm install 执行报错 Failed at the node-sass@4.14.1 postinstall script:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.14.1 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! /root/.npm/_logs/2022-05-11T01_24_13_994Z-debug.log
二、解决方法
1.卸载 node-sass
npm uninstall node-sass
2.重新安装 node-sass
npm i node-sass@4.14.1 --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ --unsafe-perm
npm报错Failed at the node-sass@4.14.1 postinstall script相关推荐
- 【Flink】Flink写入es报错failed to get node info for request_id time out out after
1.美图 2.背景 windows下开发flink程序,连接本地的es,启动的时候报错如下,重启一下es就好了. INFO [elasticsearch[_ client_ _] [generic] ...
- 关于Elasticsearch 报错failed to obtain node locks....
在学习Elasticsearch的时候出现了一下错误: 版本:7.12.1 java.lang.IllegalStateException: failed to obtain node locks, ...
- elastic启动报错-failed to obtain node locks, tried
elastic启动问题 failed to obtain node locks, tried Caused by: java.lang.IllegalStateException: failed to ...
- npm 报错 Module build failed: Error: No PostCSS Config found in:
npm 报错 Module build failed: Error: No PostCSS Config found in: 你在网上找的解决方案应该有提到webpack版本的问题.不要以为升级web ...
- 启动vue项目失败,报错Failed at the node-sass@4.14.1 postinstall script.
在启动vue项目的时候报错 报错信息如下:npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.14.1 postinstall ...
- 【npm 报错 gyp info it worked if it ends with ok 大概率是包版本问题】
node/ node-sass/sass-loader版本兼容问题 问题描述:之前的项目在新电脑上运行时,因为node版本过高,运行npm报错 npm ERR! gyp info it worked ...
- nodejs npm报错 重装 解决方法
#npm -v 报错 无反应 #重装node.js npm -v 还是报错 然而有一天用自己的笔记本时,用npm下载包报错了,好长时间没有修好,不能惯着破软件丑毛病卸了它(nodejs v10), ...
- npm报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
一.前言 1,因为最近在b站学习vue框架,安装脚手架时想要配置npm淘宝镜像 npm config set registry https://registry.npm.taobao.org 时报错了 ...
- 报错Failed to decode param
vue 项目启动报错Failed to decode param '/%3C% 后面还有很多. 解决:缺少包.npm install 就好了 . 以后遇上这些无厘头的问题先重启项目 ,不好用再ins ...
最新文章
- PAT甲级1027 Colors in Mars :[C++题解]进制位
- 描述符:property 迭代器
- 从另一个角度理解分布式系统与CAP定理
- 2020牛客国庆集训派对day4 Emergency Evacuation
- 深度学习工作笔记002---曼哈顿距离_欧氏距离
- 微型计算机的硬件系统普遍采用,2016年9月计算机一级《MS Office》考题与答案
- Android开发中的全屏背景显示方案
- 进程缓存和缓存服务,如何抉择?
- hdu 2837 Calculation
- 半小时实现Java手撸网络爬虫框架!!(附完整源码,建议收藏)
- navicat导入sql语句
- 免费可开放接口一览表
- java mina 长连接_长连接神器Mina框架的使用
- 矢量图标库Font Awesome的SVG新版本图标库5.x
- 为什么有些微信群要不定期清理不活跃成员?
- malloc与calloc的区别及实例
- 基于Java(SSM)+MySQL的二手书籍交易系统【100010084】
- python中seaborn报错These `style` levels are missing dashes解决办法
- 决策树剪枝python实现_决策树剪枝问题python代码
- 苹果手写笔有必要买吗?性价比电容笔排行榜