angular / angular/angularfire

samples/compat project doesn't run: "The serve command requires to be run in an Angular project, but a project definition could not be found."

未关闭
#3,200 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
7.8k
派生
2.2k
平均合并
22 小时 28 分钟
30 天内合并 PR
6

描述

### Version info

**Angular:**
13.3.0

**Firebase:**
10.1.4

**AngularFire:**
How do you find your AngularFire version?

**Other (e.g. Ionic/Cordova, Node, browser, operating system):**

### How to reproduce these conditions

Forked and cloned the latest version from

https://github.com/angular/angularfire/tree/master/samples/compat

Ran 'ng serve' and got an error:

`The serve command requires to be run in an Angular project, but a project definition could not be found.`

### Expected behavior

Sample code should run.

### Actual behavior

Sample code doesn't run.

贡献指南

打开贡献指南

调研方向

从 samples/compat 项目开始,在克隆的 sample 中运行 `ng serve`,以复现缺少项目定义的错误。检查 Angular 项目配置以及相关的 workspace 入口点;当 compat sample 能够通过 `ng serve` 成功启动时即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
tooling, web-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。