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 摘要。