Coder Social home page Coder Social logo

Comments (6)

fivdi avatar fivdi commented on August 21, 2024 1

Ok, good to hear that it works now. Thanks for the feedback.

from i2c-bus.

fivdi avatar fivdi commented on August 21, 2024

Can you post the complete output of the command npm install i2c-bus please?

from i2c-bus.

jorisvervuurt avatar jorisvervuurt commented on August 21, 2024

Of course, here's the entire output.
Log file: 2020-12-21T12_12_55_150Z-debug.log

jorisvervuurt@Mac-mini-van-Joris-Vervuurt SUPER_SECRET % npm install i2c-bus
Debugger listening on ws://127.0.0.1:50889/91f951b6-5c9a-4a2f-a2a0-bab086e60853
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.

> [email protected] install /Users/jorisvervuurt/Documents/Software/GitHub/SUPER_SECRET/node_modules/i2c-bus
> node-gyp rebuild

Debugger listening on ws://127.0.0.1:50897/b8b76c90-cc7f-4249-b768-2c98271c2e82
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Debugger listening on ws://127.0.0.1:50901/a0c58568-93c9-4b1d-8590-96ea921ceb29
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Waiting for the debugger to disconnect...
gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/jorisvervuurt/.nvm/versions/node/v14.15.3/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Darwin 20.2.0
gyp ERR! command "/Users/jorisvervuurt/.nvm/versions/node/v14.15.3/bin/node" "/Users/jorisvervuurt/.nvm/versions/node/v14.15.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jorisvervuurt/Documents/Software/GitHub/SUPER_SECRET/node_modules/i2c-bus
gyp ERR! node -v v14.15.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
Waiting for the debugger to disconnect...
npm WARN [email protected] No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jorisvervuurt/.npm/_logs/2020-12-21T12_12_55_150Z-debug.log
Waiting for the debugger to disconnect...

from i2c-bus.

jorisvervuurt avatar jorisvervuurt commented on August 21, 2024

Okay... this is weird. I retried removing and installing the package and now it went fine.
Not sure what was the issue, but it seems to work fine now so I'm closing the issue. ;-)

from i2c-bus.

SPlatten avatar SPlatten commented on August 21, 2024

@jorisvervuurt , what did you do to fix this, I'm having the same issue, I am using Big Sur 11.2.3, and when I try to install node-gyp:

npm install -g node-gyp

The result is:
npm ERR! code ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! errno ENOTFOUND
npm ERR! network request to https://registry.npmjs.org/node-gyp failed, reason: getaddrinfo ENOTFOUND myproxy.example.com
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sy/.npm/_logs/2021-03-09T15_25_52_688Z-debug.log

I am not behind a proxy. I am running node v15.11.0

from i2c-bus.

jorisvervuurt avatar jorisvervuurt commented on August 21, 2024

@SPlatten the error you are seeing is not related to the error I experienced. It seems either the npm registry was temporarily unreachable or you are experiencing internet connectivity issues.

from i2c-bus.

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.