Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Can't install google-cloud npm package. #2582

Closed
adsm1987 opened this issue Aug 31, 2017 · 13 comments
Closed

ERROR: Can't install google-cloud npm package. #2582

adsm1987 opened this issue Aug 31, 2017 · 13 comments
Assignees
Labels

Comments

@adsm1987
Copy link

Environment details

  • OS: Ubuntu 17.04
  • Node.js version: 8.4.0
  • npm version: 5.3.0
  • google-cloud-node version: 0.55.0

Steps to reproduce

Just try to install this module and is giving 404 in the npm registry!

Example:
npm install google-cloud-node

@stephenplusplus
Copy link
Contributor

It's just called google-cloud. Does npm install google-cloud work?

@adsm1987
Copy link
Author

adsm1987 commented Aug 31, 2017

abraham@abraham-XPS-15-9560:/var/www/tvg4-e2e-server$ npm install google-cloud
npm ERR! code E404
npm ERR! 404 Not Found: @google-cloud/bigquery@0.9.6

This is the log of the npm install google-cloud-node

https://pastebin.com/31HmSAVi

Right now i'm using in my project @google-cloud/storage and it's broken cause the dependency :(

@stephenplusplus
Copy link
Contributor

stephenplusplus commented Aug 31, 2017

@callmehiphop and I were able to install google-cloud@0.55.0 successfully. I have to imagine this is some kind of temporary outage with npm.

npm ERR! 404 Not Found: @google-cloud/bigquery@0.7.0

But, for me:

npm install @google-cloud/bigquery@0.7.0
+ @google-cloud/bigquery@0.7.0

Can you keep an eye on it for the next little while and see if it sorts itself out?

@adsm1987
Copy link
Author

adsm1987 commented Aug 31, 2017

i already tryed 2 hours ago and it's was the same... I will try tomorrow and see if it 's fixed if not, i will try to downgrade my npm/node versions...

Thanks for the fast answer... 👍

@adsm1987
Copy link
Author

Updated: It's about the new npm version: 5.3.0 and node 8.4.0 with a downgraded version is working...

@ofrobots
Copy link
Contributor

ofrobots commented Sep 1, 2017

@adsm1987 Looking at the paste-bin (https://pastebin.com/31HmSAVi), it seems like you're still installing google-cloud-node rather than google-cloud.

EDIT: upon re-reading, it seems that you have tried both, but the pastebin was about google-cloud-node. Apologies in that case. Please ignore my comment.

@ricovitch
Copy link

ricovitch commented Sep 6, 2017

I am also stuck at installing the packages from the @Google-Cloud namespace, with any nodejs/npm versions i tried, on windows7.
I'm trying to install the firebase-admin package which depends on some of the @Google-Cloud packages.

Results of the following command on different configurations : npm install firebase-admin --save

  • Node 8.4.1 - npm 5.3.0 : 404 Not Found: @google-cloud/common@0.13.4
  • Node 7.10.1 - npm 4.2.0 : fetch failed https://registry.npmjs.org/@google-cloud/storage/-/storage-1.2.1.tgz
  • Node 5.11.0 - npm 3.8.6 : fetch failed https://registry.npmjs.org/@google-cloud/storage/-/storage-1.2.1.tgz

I also tried with yarn with the same kind of failures : yarn add @google-cloud/common

  • yarn 0.27.5 : error An unexpected error occurred: "https://registry.npmjs.org/@google-cloud%2fcommon: User not found"

As a workaround, i just tried on a MacOs with npm 3.10.10 and it works without problems.

@stephenplusplus
Copy link
Contributor

Thanks for the info @ricovitch. I'm getting a Windows 7 VM set up so I can try to reproduce.

@adsm1987 -- have you tried again with npm@5.3.0 by chance? Curious to know if that resolved itself.

@adsm1987
Copy link
Author

adsm1987 commented Sep 6, 2017

@stephenplusplus nop i used nvm and like i said, downgraded the npm version to install it

@stephenplusplus
Copy link
Contributor

@lukesneeringer do you have any resources to test the installation on Windows 7? I'm not having much luck with my VM efforts.

@lukesneeringer
Copy link
Contributor

I have a Windows 7 machine at home I can try with.

@greghart
Copy link

What is in everyone's .npmrc?

I had run into this as well, and found for my case it was isolated to:

_auth=...

Obviously this would make it an NPM issue, and in fact after
some searching, I found npm/npm#17966 already exists.

@stephenplusplus
Copy link
Contributor

I'm going to close, but please let me know if anyone is still having problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants