Skip to content

Compiling issue #5

@chjomoon

Description

@chjomoon

Hi
I want to use this source to check if it fits for my project(Running on Ubuntu 16.04).
But there are some errors while installing thrw sudo npm install
Do you have any idea to fix this?

Here's the error message:
node-pre-gyp ERR! Tried to download(undefined): https://node-inspector.s3.amazonaws.com/debug/v1.0.1/node-v83-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for v8-debug@1.0.1 and node@14.0.0 (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug/build'
gyp ERR! System Linux 4.15.0-96-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v83-linux-x64/debug.node" "--module_name=debug" "--module_path=/usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v83-linux-x64"
gyp ERR! cwd /usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug
gyp ERR! node -v v14.0.0
gyp ERR! node-gyp -v v5.1.0
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/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v83-linux-x64/debug.node --module_name=debug --module_path=/usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v83-linux-x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (/usr/local/lib/node_modules/grunt-node-inspector/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1051:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
node-pre-gyp ERR! System Linux 4.15.0-96-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/grunt-node-inspector/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug
node-pre-gyp ERR! node -v v14.0.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v83-linux-x64/debug.node --module_name=debug --module_path=/usr/local/lib/node_modules/grunt-node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v83-linux-x64' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! v8-debug@1.0.1 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the v8-debug@1.0.1 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! /home/build/.npm/_logs/2020-04-22T00_10_00_152Z-debug.log

Here's my node&npm version:
✔ ~/ozonebase/server/src/examples/node-nvr [master|✚ 1…1]
00:42 $ node -v
v14.0.0
✔ ~/ozonebase/server/src/examples/node-nvr [master|✚ 1…1]
00:42 $ npm -v
6.14.4

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