Giter VIP home page Giter VIP logo

Comments (8)

ace-n avatar ace-n commented on May 19, 2024

When you set your npm logging level to warn (npm config set loglevel warn) and run npm install, is your output the same as in this issue?

Also, does npm install succeed for you if you change your Node version to 6.*.*? (e.g. nvm use 6)

from nodejs-getting-started.

vvzen avatar vvzen commented on May 19, 2024
  1. Yes! I see the following error:
node-pre-gyp ERR! Tried to download: https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v0.14.1/node-v51-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v51 ABI) (falling back to source compile with node-gyp) 

followed by a long list of:

CC(target) Release/obj.target/grpc/src/core/lib/surface/init.o
CC(target) Release/obj.target/grpc/src/core/lib/channel/channel_args.o
CC(target) Release/obj.target/grpc/src/core/lib/channel/channel_stack.o
CC(target) Release/obj.target/grpc/src/core/lib/channel/channel_stack_builder.o
CC(target) Release/obj.target/grpc/src/core/lib/channel/compress_filter.o
and so on..

Log attached:
npm-debug.txt

note: If instead of npm install (which installs "@google-cloud/datastore": "^0.1.1" ), i do npm install --save google-cloud the package gets installed without errors (so it seems). I'm testing the package in a new clean project.

  1. When changing node version to 6.0.0, it seems to install fine.
    screen shot 2017-01-05 at 11 38 25

PS: Since I'm quite in a hurry, which option is the recommended one? Using node 6 or installing google-cloud package?

from nodejs-getting-started.

jmdobry avatar jmdobry commented on May 19, 2024

Personally, I would use Node 6, as it's an LTS release.

from nodejs-getting-started.

chai-jay avatar chai-jay commented on May 19, 2024

Using Node 6.2.0, it works.

from nodejs-getting-started.

jpravetz avatar jpravetz commented on May 19, 2024

grpc appears to have been updated to support node7.
Is there a schedule for when this issue going to be fixed in this repo?

from nodejs-getting-started.

sravanrekandar avatar sravanrekandar commented on May 19, 2024

Updating the @google libraries to the latest versions might fix the installation issue.
command:
npm install --save @google-cloud/datastore@latest @google-cloud/storage@latest
or
yarn add @google-cloud/datastore@latest @google-cloud/storage@latest

from nodejs-getting-started.

nsksaisaravana avatar nsksaisaravana commented on May 19, 2024

I am also getting the same error when try to install npm install firebase.

Please check this screen shot.

image

from nodejs-getting-started.

fhinkel avatar fhinkel commented on May 19, 2024

Looks like this got resolved with Node 6 and newer

from nodejs-getting-started.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.