[英]npm update throws node-sass error
某個時候,我在一個項目中使用了node-sass。 現在,當我在任何項目(根本不使用node-sass)中編寫npm update
或npm install
,都會出現以下錯誤:
npm ERR! node-sass@3.3.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.3.2 postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
到目前為止,我嘗試過:
我的節點版本是v5.1.0
我根本不需要node-sass,但是無論如何它會引發錯誤,我根本無法解釋。 有誰知道如何擺脫這個想法?
我在0.18中使用豎琴,似乎有一個錯誤。 0.20.1為我修復了此問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.