Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

看的第一遍,找不到sass,查看node-sass文件,里面没有文件

解决办法

下载sass之前,要先修改源

先把node-modules删除掉

执行以下命令

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

再 npm install

 

原文地址:https://www.cnblogs.com/duhui/p/12598830.html

时间: 2024-10-12 10:27:10

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! Failed at the [email protected] postinstall script.

npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! [email protected] postinstall: `node scripts/build.js`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the [email protected] postinstall script. node-sass 的数据源没设置 npm config set sass_binary_site=https:

node-sass安装失败之npm ERR! Failed at the [email protected] postinstall script.

, 报错如上图: 问题:找不到python2,node-sass安装失败,node-sass安装环境需要python,但是必须是2不能是3 的版本,如果已经安装3了,需要卸载重新安装,还要更改环境变量,配置成2的地址,安装完毕后python -v看下版本和安装成功没. 如果安装node-sass但是失败了的,先执行 npm uninstall node-sass 最好还是用cnpm淘宝镜像, 然后 把node_modules依赖包删掉,重新 cnpm install,然后报 说node-sass

webpacke install vue application 报错 Failed at the [email protected] install script

刚刚在网上下了个开源的项目: https://github.com/ing670/webappkiller 执行npm install 报错:npm ERR! Failed at the [email protected] install script 'node install.js'. 直接在项目根目录执行:npm install phantomjs-prebuilt -save 安装缺少的类库. 再次安装成功!

Failed at the [email protected] preinstall script './scripts/download' 设置linux proxy (代理)的方式

此问题发生的条件是: 用bitcore官方提供的方式在linux进行npm安装,报错: Downloading bitcoin: https://github.com/bitpay/bitcoin/releases/download/v0.12.1-bitcore-4/npm ERR! Linux 3.16.0-4-686-paenpm ERR! argv "/home/user/.nvm/versions/node/v4.6.0/bin/node" "/home/user/

输入npm install 报错npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: `node scripts/build.js`

输入npm install 报以下错误 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

Struts2报错异常Method "setUser" failed for object [email protected]

在写类型转换的时候发现报错 异常信息: 1 ognl.MethodFailedException: Method "setUser" failed for object [email protected] [java.lang.NoSuchMethodException: com.mikey.action.ConverterAction.setUser([Ljava.lang.String;)] 2 at ognl.OgnlRuntime.callAppropriateMethod(O

页面报错误:HTTP Status 500 - Method "execute" failed for object [email protected]解决方法?

16:21:07,308 ERROR DefaultDispatcherErrorHandler:42 - Exception occurred during processing request: Method "execute" failed for object [email protected] ognl.MethodFailedException: Method "execute" failed for object [email protected] [

初始化vue项目,报错This is probably not a problem with npm,there is likely additional logging output above

https://blog.csdn.net/ink_if/article/details/79015811 参考别人的博客 初始化项目,vue init webpack-simple demo 然后npm install 再然后npm run dev 就报错了,最后找出是版本更新原因, 解决方案: npm install之后,运行 npm i -D [email protected] 原文地址:https://www.cnblogs.com/qianjin888/p/10086950.html

输入npm install 报错[email protected] postinstall:`node scripts/build.js` Failed at the [email protected](scratch-www npm i失败)

这个是因为sass安装时获取源的问题,先修改sass安装的源,再运行npm install就成功了 npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass 原文地址:https://www.cnblogs.com/mryaohu/p/12329647.html