$ npm install bootstrap
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\ node_modules\\npm\\bin\\npm-cli.js" "install" "bootstrap"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! path C:\Program Files\nodejs\node-cache\bootstrap
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall mkdir
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\n ode-cache\bootstrap'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodej s\node-cache\bootstrap'
npm ERR! at Error (native)
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\\Program Files\\nodejs\\node-cache\\bootstrap',
npm ERR! parent: 'shopping' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! E:\Project Files\shopping\npm-debug.log
最开始我以为就是安装路径的问题 可是改到了D盘还是有问题
管理员身份运行cmd再npm命令