前端命令安装常见问题
子月吾生
one day by one day
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
npm ERR! Failed at the node-sass@4.5.2 postinstall script. npm ERR! This is probably not a problem
npm run dev的时候不成功,然后我就删除node_module文件,npm install 重新安装依赖,结果报错说:npm ERR! Failed at the node-sass@4.9.2 postinstall script.npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! node-sass@4.9.2 postinstall: `node scripts/build.js`npm ERR! Exit status 1npm ERR原创 2020-09-14 17:44:02 · 1079 阅读 · 0 评论 -
mac安装报错Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules
关于权限问题的报错:意思是你没有权限访问这个文件解决办法:在安装命令前面加一个sudo例如我原先的命令是npm install -g cnpm --registry=https://registry.npm.taobao.org然后把它换成sudo npm install -g cnpm --registry=https://registry.npm.taobao.org然后再输入电脑开机密码,输入的时候它是不会显示出来的,正常输入就好。...原创 2020-09-14 17:40:31 · 898 阅读 · 0 评论
分享