出现的问题
在使用npm
安装ng-bootstrap
插件的过程中,由于GFW,下载外网的依赖包会出现下载不完整的情况
导致如下的错误
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/asap
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/fstream
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/fstream-npm
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/normalize-git-url
npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/realize