ng
command was not working. I found that core dependencies were missing:
npm WARN @angular/fire@6.0.0 requires a peer of @angular/common@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm update
as well as Angular: ng update
.package.lock.json
; package.json
; node_modules
.xml2js.DELETE
has a package.json
file that can't be opened in my IDE or by Windows.npm install
Steps I took which fixed the issue:
Powershell
as administratorchkdsk /f
node_modules
npm install