首页 > 编程语言 >安装install的项目的报错sass npm ERR! [email protected] postinstall: `node scripts/build.js`

安装install的项目的报错sass npm ERR! [email protected] postinstall: `node scripts/build.js`

时间:2023-11-20 11:55:25浏览次数:115  
标签:node npm sass ERR postinstall 报错 4.14

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\A5\AppData\Roaming\npm-cache\_logs\2021-04-02T03_16_26_869Z-debug.log

因为node-sass报错
npm ERR! [email protected] postinstall: node scripts/build.js

解决方案:
输入如下命令

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass

重新 npm install

标签:node,npm,sass,ERR,postinstall,报错,4.14
From: https://www.cnblogs.com/qianxiaoPro/p/17843622.html

相关文章

  • Node.js精进(12)——ElasticSearch
    ElasticSearch(简称ES)是一款基于Lucene的分布式、可扩展、RESTful风格的全文检索和数据分析引擎,擅长实时处理PB级别的数据。一、基本概念1)LuceneLucene是一款开源免费、成熟权威、高性能的全文检索库,是ES实现全文检索的核心基础,而检索的关键正是倒排索引。2)倒......
  • [LeetCode] 1361. Validate Binary Tree Nodes 验证二叉树
    Youhave n binarytreenodesnumberedfrom 0 to n-1 wherenode i hastwochildren leftChild[i] and rightChild[i],return true ifandonlyif all thegivennodesform exactlyone validbinarytree.Ifnode i hasnoleftchildthen leftCh......
  • nodejs你应该知道的13个库 | Sequelize CORS Nodemailer Async Lodash Axios
    1.SequelizeSequelize是一种基于promise的Node.js对象关系映射器(ORM)使用,它使开发人员更容易使用关系数据库。 2.CORSCORS是一个Node.js包,它使用Connect/Express提供跨域资源共享(CORS)作为中间件。CORS包包装了Node.js路由中间件,允许程序从其自己的域以外的......
  • win11笔记本换内存后,报错,及解决:0x00007FF8011F6693指令引用了0x0000000000000000内存
    笔记本原装内存为一对镁光8GDDR54800MHz换单条镁光32GDDR55600MHz内存后,重启电脑出现如下报错:0x00007FF8011F6693指令引用了0x0000000000000000内存。该内存不能为read。要终止程序,请单击”确定” 联系内存的卖家客服提供的解决步骤虽然我没看到滚屏,但是重启后问题一样......
  • vue前端项目启动报错:error:0308010C:digital envelope routines::unsupported
    问题描述使用 npmrundev 或者 yarnrundev 时报错:error:0308010C:digitalenveloperoutines::unsupported解决方案修改package.json,在相关构建命令之前加入setNODE_OPTIONS=--openssl-legacy-provider"scripts":{"dev":"setNODE_OPTIONS=--openssl-legacy-provide......
  • node-canvas 安装报错
    node-canvas安装报错内容一般如下....npmERR!commandC:\Windows\system32\cmd.exe/d/s/cnode-pre-gypinstall--fallback-to-build--update-binarynpmERR!Warning:Missinginputfiles:npmERR!C:\GTK\bin\libgmodule-2.0-0.dllnpmERR!C:\GTK\bin\libpang......
  • vue项目中,如何去掉报错时出现的黑色遮罩?
    比如在我们发送请求时,返回401,此时出现带有401提示信息的黑色遮罩,我们不想要这个遮罩出现,只需要在控制台有报错信息就好,如下图显示,如何解决呢?解决办法:在vue.config.js文件中配置如下代码即可: ......
  • pip 报错
    当我们使用pip安装python库的时候,经常会碰到这种情况,提示以“root”用户身份运行pip可能会导致权限损坏和冲突,往往因为这个问题,导致我们无法更新pip或下载库失败:WARNING:Runningpipasthe'root'usercanresultinbrokenpermissionsandconflictingbehaviourwitht......
  • 使用Swagger,在编写配置类时报错Caused by: java.lang.NullPointerException: Cannot i
    1.问题Causedby:java.lang.NullPointerException:Cannotinvoke"org.springframework.web.servlet.mvc.condition.PatternsRequestCondition.getPatterns()"because"this.condition"isnull2.解决参考链接:解决Cannotinvoke"org.springframework......
  • 物理机登录vmware虚拟机mysql报错处理
    一、问题报错主要有三个报错,图片展示如下:二、问题解决2.1问题分析 遇到问题,我们需要先分析问题。第一个问题1130-Host"11.0.1.1'isnotallowedtoconnecttothisMySQLserver大概可以看出是因为IP没在登录范围,类似设备的IP登录限制。进入win7虚拟机,找到my.cnf文......