Skip to content

npn install Ubuntu 18.04 -> node-pre-gyp ERR! Tried to download(404): #14

@carlesgutierrez

Description

@carlesgutierrez

I'm trying to get at least the Developer mode working.
There is no Apps for Android or Iphone available.
And the following error is while trying to install the npn dependencies:
npn install
npn version is v11.5.0

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196:23)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Linux 4.15.0-60-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/carles/Documents/develop/develop_linux/nodejs/WelleAPI-master/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/carles/Documents/develop/develop_linux/nodejs/WelleAPI-master/node_modules/serialport/build/Release"
gyp ERR! cwd /home/carles/Documents/develop/develop_linux/nodejs/WelleAPI-master/node_modules/serialport
gyp ERR! node -v v11.5.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/no
...
../src/serialport.cpp:174:31: error: no matching function for call to ‘v8::Value::ToInt32()’
int fd = argv[1]->ToInt32()->Int32Value();

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