错误:找不到保存 Bower 包的位置.使用 --force 继续 [英] Error: Cannot find where you keep your Bower packages. Use --force to continue

查看:21
本文介绍了错误:找不到保存 Bower 包的位置.使用 --force 继续的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 MEAN Stack 构建应用程序并尝试使用 yeoman-generator 搭建我的前端,当我yo angular 时无法构建并以以下方式结束

I'm building an App using MEAN Stack and trying to scaffold my frontend using yeoman-generator, when I do yo angular it fails to build and ends up in the following

  Running "wiredep:app" (wiredep) task
  Warning: Error: Cannot find where you keep your Bower packages. Use --force to continue.

Aborted due to warnings.

我被这个警告困住了.我在 here 发现了一个类似的问题,但该解决方案对我没有帮助.

I'm stuck with this warning. I found a similar question here , but that solution didn't helped me.

任何帮助将不胜感激.

推荐答案

我遇到了同样的错误

咕噜咕噜的服务.

我试了一下就解决了

npm install --global yo bower grunt-cli 

npm install -g generator-angular

yo angular

grunt serve

如果出现错误:-

运行wiredep:app"(wiredep) 任务

Running "wiredep:app" (wiredep) task

警告:错误:角度未安装

Warning: Error: angular is not installed

.尝试运行 bower install

这篇关于错误:找不到保存 Bower 包的位置.使用 --force 继续的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆