Skip to content

using pnpm & getting Command failed: npm list firebase-admin #2841

@YogliB

Description

@YogliB

Version info

Angular: 12.0.0

Firebase: 8.6.2

AngularFire: 6.1.5

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

Package Manager: pnpm

How to reproduce these conditions

Steps to set up and reproduce

  npm i -g pnpm
  pnpm add -g @angular/cli
  ng new --package-manager=pnpm
  ng add @nguniversal/express-engine
  ng add @angular/fire
  ng deploy

Debug output

** Errors in the console **

"FirebaseDeploySchema" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID.
📦 Building "base"
Warning: Support was requested for IE 11 in the project's browserslist configuration. IE 11 support is deprecated since Angular v12.
For more information, see https://angular.io/guide/browser-support

warn - You have enabled the JIT engine which is currently in preview.
warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
✔ Browser application bundle generation complete.
✔ ES5 bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.

Initial Chunk Files                      | Names                |      Size
main-es5.57822b131ae09feaadf3.js         | main                 | 244.27 kB
main-es2015.57822b131ae09feaadf3.js      | main                 | 207.60 kB
polyfills-es5.143ca2d9442d36e04592.js    | polyfills-es5        |  89.88 kB
styles.f96c3bc62c31770b5e30.css          | styles               |   3.01 kB
runtime-es2015.2de38a6e89d3cb12cf44.js   | runtime              |   2.73 kB
runtime-es5.2de38a6e89d3cb12cf44.js      | runtime              |   2.72 kB
polyfills-es2015.5cecd6921d6d2cd8fa13.js | polyfills            | 126 bytes

                                         | Initial ES5 Total    | 339.88 kB
                                         | Initial ES2015 Total | 213.46 kB

Lazy Chunk Files                         | Names                |      Size
84-es5.6cf6530eae598865a50e.js           | -                    |  36.68 kB
84-es2015.6cf6530eae598865a50e.js        | -                    |  36.58 kB

Build at: 2021-05-22T20:15:00.225Z - Hash: e75b650dbba0827b9702 - Time: 23784ms

Warning: angular-resource-output-2.css exceeded maximum budget. Budget 6.00 kB was not met by 28.38 kB with a total of 34.38 kB.


✔ Server application bundle generation complete.

Initial Chunk Files | Names         |     Size
main.js             | main          |  3.15 MB

                    | Initial Total |  3.15 MB

Lazy Chunk Files    | Names         |     Size
519.js              | -             | 37.62 kB

Build at: 2021-05-22T20:15:21.633Z - Hash: dd0371ed5c15bf9d3b71 - Time: 21144ms
npm ERR! code ELSPROBLEMS
npm ERR! invalid: firebase-admin@9.8.0 ~\yoglib\node_modules\.pnpm\firebase-functions-test@0.2.3_77b0656c99a51d1d145781b454c6aff2\node_modules\firebase-admin

npm ERR! A complete log of this run can be found in:
npm ERR!     ~\scoop\persist\nodejs-lts\cache\_logs\2021-05-22T20_15_35_684Z-debug.log
Command failed: npm list firebase-admin
npm ERR! code ELSPROBLEMS
npm ERR! invalid: firebase-admin@9.8.0 D:\Projects\yoglib\node_modules\.pnpm\firebase-functions-test@0.2.3_77b0656c99a51d1d145781b454c6aff2\node_modules\firebase-admin

npm ERR! A complete log of this run can be found in:
npm ERR!     ~\scoop\persist\nodejs-lts\cache\_logs\2021-05-22T20_15_35_684Z-debug.log


———————————————————————————————————————————————   

Expected behavior

The builder should run pnpm list firebase-admin.

Actual behavior

The builder runs npm list firebase-admin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions