​Hi John,

Your current issue is you need gmake (obtain from perzl for now). Once you
have your dev stack setup properly then node-gyp works fine (I use it
fairly frequently). The (eventual) problem you'll have with node-inspector
is here: http://krengel.tech/rfe-nodejs-inspector

Aaron Bartell
IBM i hosting, starting at $157/month. litmis.com/spaces


On Tue, Jul 18, 2017 at 11:47 AM, john art <jhon_art@xxxxxxxxxxx> wrote:

Sorry Kevin

could you please better explain !! sorry but i'm new in this arguments

i dont know node-gyp .. what i should try to do ?

thanks in advance and sorry for my ignorance


________________________________
Da: OpenSource <opensource-bounces@xxxxxxxxxxxx> per conto di Kevin
Turner <kevin.turner@xxxxxxxxxxxxxx>
Inviato: martedì 18 luglio 2017 18:24
A: IBMi Open Source Roundtable
Oggetto: Re: [IBMiOSS] Help in Error on install inspector

Have we even managed to get node-gyp working on the IBMi yet?

I gave up trying but things may have moved on.

[https://www.netcracker.com/assets/img/netcracker-social-final.png

[https://www.netcracker.com/assets/img/netcracker-social-final.png]

] ƕ
-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of
john art
Sent: 18 July 2017 17:21
To: opensource@xxxxxxxxxxxx
Subject: [IBMiOSS] Help in Error on install inspector

[External Email]
________________________________



Hi all
I?m try to install inspector, but i receive error; can some help me where
am i wrong ?

Thanks in advance

npm install -g node-inspector

v8-debug@1.0.1<mailto:v8-debug@1.0.1> preinstall
/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/.staging/v8-debug-b
88ee218
node -e 'process.exit(0)'


v8-profiler@5.7.0<mailto:v8-profiler@5.7.0> preinstall
/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/.staging/v8-profile
r-80fda85c
node -e 'process.exit(0)'

/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node-debug ->
/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/node-
inspector/bin/node-debug.js
/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node-inspector ->
/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/node-
inspector/bin/inspector.js

v8-debug@1.0.1<mailto:v8-debug@1.0.1> install
/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/node-inspector/node
_modules/v8-debug node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.
amazonaws.com/debug/v1.0.1/node-v48-aix-ppc.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for v8-debug@1.0.1<mailto:
v8-debug@1.0.1> and node@6.9.1<mailto:node@6.9.1> (node-v48 ABI) (falling
back to source compile with node-gyp) gyp ERR! build error gyp ERR! stack
Error: not found: gmake
gyp ERR! stack at getNotFoundError (/QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/npm/node_modules/which/which.js:14:12)
gyp ERR! stack at F (/QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/npm/node_modules/which/which.js:69:19)
gyp ERR! stack at E (/QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/npm/node_modules/which/node_
modules/isexe/index.js:44:5
gyp ERR! stack at /QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/npm/node_modules/which/node_
modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System OS400 1
gyp ERR! command "/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node"
"/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/
node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build"
"--module=/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_
modules/node-inspector/node_modules/v8-debug/build/debug/
v1.0.1/node-v48-aix-ppc/debug.node" "--module_name=debug"
"--module_path=/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_
modules/node-inspector/node_modules/v8-debug/build/debug/
v1.0.1/node-v48-aix-ppc"
gyp ERR! cwd /QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/node-
inspector/node_modules/v8-debug
gyp ERR! node -v v6.9.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute
'/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node /QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build
--fallback-to-build --module=/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_
modules/node-inspector/node_modules/v8-debug/build/debug/
v1.0.1/node-v48-aix-ppc/debug.node --module_name=debug
--module_path=/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_
modules/node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v48-aix-ppc'
(1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous>
(/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/node-
inspector/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:
877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:226:5)
node-pre-gyp ERR! System OS400 1
node-pre-gyp ERR! command "/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node"
"/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/node-
inspector/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /QOpenSys/QIBM/ProdData/OPS/
Node6/lib/node_modules/node-inspector/node_modules/v8-debug
node-pre-gyp ERR! node -v v6.9.1
node-pre-gyp ERR! -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute '/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node
/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_modules/npm/
node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build
--module=/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_
modules/node-inspector/node_modules/v8-debug/build/debug/
v1.0.1/node-v48-aix-ppc/debug.node --module_name=debug
--module_path=/QOpenSys/QIBM/ProdData/OPS/Node6/lib/node_
modules/node-inspector/node_modules/v8-debug/build/debug/v1.0.1/node-v48-aix-ppc'
(1) /QOpenSys/QIBM/ProdData/OPS/Node6/lib
`-- (empty)

npm ERR! OS400 1
npm ERR! argv "/QOpenSys/QIBM/ProdData/OPS/Node6/bin/node"
"/QOpenSys/usr/bin/npm" "install" "-g" "node-inspector"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE

npm ERR! v8-debug@1.0.1<mailto: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<mailto:v8-debug@1.0.1> install
script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm
installed.
npm ERR! If you do, this is most likely a problem with the v8-debug
package, npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs v8-debug
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls v8-debug
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/angelo/hello/npm-debug.log
npm ERR! code 1


$ node -v
v6.9.1
$ npm -v
3.10.8
$

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To post
a message email: OpenSource@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/opensource.



________________________________
The information transmitted herein is intended only for the person or
entity to which it is addressed and may contain confidential, proprietary
and/or privileged material. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.