安装 node-Sass 失败,是电脑中没有这个吗?

npm ERR! 404 Not Found: node-sass-dev@latest

中二少年ID
最佳答案

下载cnpm,以后教程里有关下载的npm命令改成cnpm就行了,命令$ npm install -g cnpm --registry=https://registry.npm.taobao.org

5年前 评论
讨论数量: 2
中二少年ID

下载cnpm,以后教程里有关下载的npm命令改成cnpm就行了,命令$ npm install -g cnpm --registry=https://registry.npm.taobao.org

5年前 评论

嗯,谢谢,解决了,我当时用 cnpm install node-sass --save逐个下载就可以了

5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!