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."

Open
#3,200 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.8k
Forks
2.2k
Avg merge
22h 28m
Merged PRs (30d)
6

Description

### 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.

Contributor guide

Open the contributing guide

Research direction

Start in the samples/compat project and run `ng serve` from the cloned sample to reproduce the missing project-definition error. Inspect the Angular project configuration and related workspace entry points; done means the compat sample starts successfully with `ng serve`.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
tooling, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.