npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

on running 'firebase login' in firebase CLI of angular project its shows and error

[info] Visit this URL on any device to log in:
[info] https://accounts.google.com/o/oauth2/auth?client_id=563584335869-fgrhgmd47bqnekij5i8b5pr03ho849e6.apps.googleusercontent.com&scope=email%20openid%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloudplatformprojects.readonly%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Ffirebase%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform&response_type=code&state=1026431000&redirect_uri=http%3A%2F%2Flocalhost%3A9005
[info]
[info] Waiting for authentication…
[debug] [2019-07-31T11:42:09.774Z] Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
[error]
[error] Error: An unexpected error has occurred.
firebase-debug.log (1.5 KB)


(You might get an answer here, but because this forum is focused on npm itself, you might want to ask your question somewhere that targets experts with your package. I have moved your topic to #community:javascript)