码迷,mamicode.com
首页 > 系统相关 > 详细

Mac安装vue产生错误

时间:2018-12-11 20:21:28      阅读:275      评论:0      收藏:0      [点我收藏+]

标签:back   err   错误   ffffff   user   call   建议   mac   配置   

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/_schema-utils@1.0.0@schema-utils/node_modules/ajv

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/_schema-utils@1.0.0@schema-utils/node_modules/ajv-keywords

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/terser-webpack-plugin

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/watchpack

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/webpack/node_modules/is-descriptor/node_modules

npm ERR! path /usr/local/lib/node_modules/webpack/node_modules/assert

npm ERR! code ENOENT

npm ERR! errno -2

npm ERR! syscall access

npm ERR! enoent ENOENT: no such file or directory, access ‘/usr/local/lib/node_modules/webpack/node_modules/assert‘

npm ERR! enoent This is related to npm not being able to find a file.

npm ERR! enoent 

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/zhouqiang/.npm/_logs/2018-12-11T11_57_35_887Z-debug.log

 

 

 

出现这种情况我建议你还是重新安装node吧

 

可以通过命令查看一下npm配置

 npm list  -g    

 

Mac安装vue产生错误

标签:back   err   错误   ffffff   user   call   建议   mac   配置   

原文地址:https://www.cnblogs.com/cap-rq/p/10104840.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!