Skip to content

报错记录

sass

Module build failed: Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)

sass不支持当前的环境,那么在当前环境重新安装一下就好了

# 先卸载:(如果卸载不成功,直接找到node-sass文件夹,删除)
npm uninstall --save node-sass 
# 再安装
npm install --save node-sass

phantomjs-prebuilt

npm install 报错 phantomjs-prebuilt@2.1.14 install: `node install.js`

初步诊断为包phantomjs-prebuilt@2.1.14 install: node install.js下载失败
先运行 npm install phantomjs-prebuilt@2.1.14 --ignore-script 可成功

npm install phantomjs-prebuilt@2.1.14 --ignore-script

nom install 时报错

npm ERR! path D:\nodejs\node_cache\_cacache\content-v2\sha1\0c\3d\0beaed8a01c966d9787

清除缓存

npm cache clean --force’