question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cloud not install firebase-admin

See original GitHub issue

Could not install firebase-admin

Once I try to install firebase-admin with npm i --save firebase-admin I have the following error

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @google-cloud/firestore@^3.0.0 (node_modules/firebase-admin/node_modules/@google-cloud/firestore):
npm WARN 404 SKIPPING OPTIONAL DEPENDENCY: Not Found - GET https://registry.npmjs.org/@google-cloud%2ffirestore - Not found
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @google-cloud/storage@^4.1.2 (node_modules/firebase-admin/node_modules/@google-cloud/storage):
npm WARN 404 SKIPPING OPTIONAL DEPENDENCY: Not Found - GET https://registry.npmjs.org/@google-cloud%2fstorage - Not found

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@firebase%2fdatabase - Not found
npm ERR! 404 
npm ERR! 404  '@firebase/database@^0.6.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'firebase-admin'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/aorfevre/.npm/_logs/2020-08-06T09_50_00_938Z-debug.log

I have tried to find @firebase/database in github, but it seems to be changed to https://github.com/firebase/firebase-js-sdk

Environnment

node --version v12.0.0 npm --version 6.9.0

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
LouisPetrikcommented, Aug 6, 2020

Facing something similar here:

error Couldn’t find package “@protobufjs/aspromise@^1.1.2” required by “protobufjs@^6.8.9” on the “npm” registry. info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command. Error: Couldn’t find package “@protobufjs/base64@^1.1.2” required by “protobufjs@^6.8.9” on the “npm” registry. at MessageError.ExtendableBuiltin (/usr/local/lib/node_modules/yarn/lib/cli.js:721:66) at new MessageError (/usr/local/lib/node_modules/yarn/lib/cli.js:750:123) at PackageRequest.<anonymous> (/usr/local/lib/node_modules/yarn/lib/cli.js:36539:17) at Generator.throw (<anonymous>) at step (/usr/local/lib/node_modules/yarn/lib/cli.js:310:30)

0reactions
hiranya911commented, Aug 6, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install firebase-admin with npm - node.js - Stack Overflow
First, I uninstalled firebase-admin using the npm uninstall firebase-admin command. I reinstalled firebase-adming using the npm install firebase ...
Read more >
Cannot install firebase-admin v10 · Issue #996 - GitHub
[REQUIRED] Step 2: Describe your environment Operating System version: Windows 11 Firebase SDK version: firebase-admin 10 Firebase Product: ...
Read more >
Add the Firebase Admin SDK to your server - Google
The Admin SDK is a set of server libraries that lets you interact with Firebase from privileged environments to perform actions like:.
Read more >
firebase-admin - npm
Firebase Admin Node.​​ js SDK enables access to Firebase services from privileged environments (such as servers or cloud) in Node. js. For more ......
Read more >
firebase-admin - PyPI
Firebase Admin Python SDK. ... pip install firebase-admin ... The Firebase Admin Python SDK enables server-side (backend) Python developers to integrate ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found