在工程目录下安装bower
为什么在工程目录下安装bower之后没有出现bower_module
bower install bootstrap 运行也是没反应
为什么在工程目录下安装bower之后没有出现bower_module
bower install bootstrap 运行也是没反应
2016-03-06
用npm安装bower
hadoop@yuzaizai-ubuntu14:~/WebstormProjects/imooc$ sudo npm install bower -g
[sudo] password for hadoop:
npm http GET https://registry.npmjs.org/bower
npm http 200 https://registry.npmjs.org/bower
npm http GET https://registry.npmjs.org/bower/-/bower-1.7.7.tgz
npm ERR! fetch failed https://registry.npmjs.org/bower/-/bower-1.7.7.tgz
npm http GET https://registry.npmjs.org/bower/-/bower-1.7.7.tgz
npm http 200 https://registry.npmjs.org/bower/-/bower-1.7.7.tgz
/usr/local/node/node_global/bin/bower -> /usr/local/node/node_global/lib/node_modules/bower/bin/bower
bower@1.7.7 /usr/local/node/node_global/lib/node_modules/bower
hadoop@yuzaizai-ubuntu14:~/WebstormProjects/imooc$
bower安装bootstrap
hadoop@yuzaizai-ubuntu14:~/WebstormProjects/imooc$ bower install bootstrap
hadoop@yuzaizai-ubuntu14:~/WebstormProjects/imooc$ sudo bower install bootstrap
hadoop@yuzaizai-ubuntu14:~/WebstormProjects/imooc$
是不是跟我webstorm安装的有问题,我的webstorm一定要到安装的目录文件下才能启动.
举报