运行后
yo ionic
来自https://github.com/diegonetto/generator-ionic
然后加载grunt serve,我得到了这个:
Running "wiredep:app" (wiredep) task
Cannot find where you keep your Bower packages.
我卡住了,我无法获得应用程序的预览。
发布于 2014-10-04 04:20:41
我更新了grunt-wiredep
npm install --save-dev grunt-wiredep
然后运行bower安装
bower install jquery --save
我将Grunt任务称为
grunt wiredep
并且没有出现任何错误,最终我可以运行grunt serve了
发布于 2017-06-06 05:17:03
@arnaudlrx回答是正确的,但请检查您的计算机中是否安装了git,因为如果您运行
bower install jquery --save但是你没有在那里安装git,什么都不能用。
https://stackoverflow.com/questions/26182287
复制相似问题