updagrade from firebase npm to firebase-admin npm

667 views
Skip to first unread message

Alexander Cohen

unread,
Nov 9, 2016, 9:54:26 AM11/9/16
to Firebase Google Group
Hello, I'm trying to move over to firebase-admin on our servers and have run into a problem during the install. I run 'npm install firebase-admin --save' and it's giving me the following error:

--

npm ERR! Darwin 16.1.0

npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "firebase-admin" "--save"

npm ERR! node v4.4.5

npm ERR! npm  v2.15.5


npm ERR! Invalid name: "@types/jsonwebtoken"
--

Is there something i'm doing wrong or is this a known issue that will soon be resolved?

AC

Jacob Wenger

unread,
Nov 9, 2016, 11:59:16 AM11/9/16
to fireba...@googlegroups.com
Hey Alexander,

The @types/jsonwebtoken package is a TypeScript package. I assume the reason you are getting this error is that you are using an outdated version of npm. I would suggest updating npm:

npm install -g npm

A more recent version of npm should support packages with an @ character in them.

Cheers,
Jacob

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/21301c32-44be-4248-bdaa-c18698a934af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexander Cohen

unread,
Nov 10, 2016, 1:21:03 AM11/10/16
to fireba...@googlegroups.com
Ah, that fixed the issue, thank you.

AC

To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages