Skip to content

npm install i2c fails on BeagleBone #84

@billtrudell

Description

@billtrudell

An install of i2c on a Beaglebone Green, with relatively new/updated Nodejs and NPM, is failing? Any clues?

verbose stack Error: i2c@0.2.3 install: node-gyp rebuild
verbose stack spawn ENOENT
verbose stack at ChildProcess. (/root/nodejs/lib/node_modules/npm/lib/utils/spawn.js:33:16)
verbose stack at emitTwo (events.js:106:13)
verbose stack at ChildProcess.emit (events.js:194:7)
verbose stack at maybeClose (internal/child_process.js:899:16)
verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
verbose pkgid i2c@0.2.3
verbose cwd /home/examples.i2c
error Linux 4.4.9-ti-r25
error argv "/root/nodejs/bin/node" "/usr/local/bin/npm" "install" "i2c"
error node v7.8.0
error npm v4.2.0
error file sh
error code ELIFECYCLE
error errno ENOENT
error syscall spawn
error i2c@0.2.3 install: node-gyp rebuild
error spawn ENOENT
error Failed at the i2c@0.2.3 install script 'node-gyp rebuild'.
2017-04-07T19_39_40_305Z-debug.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions