1. 程式人生 > >npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules

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

解決 npm mission bsp 安裝目錄 權限 access acc oca

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

解決方法:

修改npm包所安裝目錄的權限:sudo chown -R $USER /usr/local 然後輸入密碼就可以了

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