![](/img/trans.png)
[英]local npm module “grunt-prettify” not found. is it installed?
[英]Npm module “grunt-sass” not found. Is it installed?
我正在使用Windows 10.安裝了npm版本5.6.0,節點v8.10.0和Python 2.7。
即使在使用命令“npm install”安裝npm后也沒有安裝grunt-sass 。 之后我使用命令安裝了grunt:
npm install -g grunt-cli
此外,有時會得到一個錯誤
“ Node Sass尚不支持您當前的環境 :Windows 64位具有不支持的運行時”
任何幫助都會非常貼切。
在package.json
存在的項目文件夾中,運行:
npm install
但是,如果package.json
中不存在grunt-sass
,請運行:
npm install grunt-sass
如果您希望將其保存以供將來的npm install
,請運行:
npm install grunt-sass --save
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.