【发布时间】:2017-09-03 20:04:52
【问题描述】:
我一直在为 Angular cli 苦苦挣扎,因为它一直给我一个错误,即我不在 angular cli 项目中。
想设置这个项目https://github.com/codediodeio/ngrx-fire。
I followed the basics:
git clone https://github.com/codediodeio/ngrx-fire.git ngrxFire
cd ngrxFire
npm install
然后 ng 服务,告诉我我不在项目中,我是 100%。 当我在做 Angular cli 项目时,我的机器上是否有我通常需要更新的配置?
【问题讨论】:
-
您是否创建了
src/environments/environment.ts文件?顺便说一下,请提供您得到的确切错误。 -
是的,我已经知道了如何运行它,稍后会发布
-
你的全局 Angular cli 版本是多少?
-
最新的,当我遇到代码问题时总是尝试使用最新的
标签: angular-cli cloning