-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Version info
Angular: 9.1.9
Firebase:
AngularFire: 6.0.0
Other (e.g. Ionic/Cordova, Node, browser, operating system):
How to reproduce these conditions
npx @angular/cli new myapp
cd myapp
npx ng add @angular/fire
The cause is probably here.
deps.version
is incorrect.
angularfire/src/schematics/ng-add-common.ts
Lines 98 to 104 in 9e65e9d
if (dep.dev) { | |
packageJson.devDependencies[depName] = | |
packageJson.devDependencies[depName] || dep.version; | |
} else { | |
packageJson.dependencies[depName] = | |
packageJson.dependencies[depName] || deps.version; | |
} |
Failing test unit, Plunkr, or JSFiddle demonstrating the problem
Steps to set up and reproduce
Sample data and security rules
Debug output
** Errors in the JavaScript console **
** Output from firebase.database().enableLogging(true);
**
** Screenshots **
Expected behavior
Actual behavior
scopchanov
Metadata
Metadata
Assignees
Labels
No labels