Forum Discussion
BIG-IP device fails to install node-inspector
- Dec 02, 2025
https://my.f5.com/manage/s/article/K34264636 might help out, mentions node-inspector is deprecated and gives another option.
Hey ecolauce , try checking out this guide, you can set /usr to read-write mode. K20330103: Mounting the /usr file system in read-write mode https://my.f5.com/manage/s/article/K20330103
But keep in mind, the following:
Important Considerations:
- Security: F5 mounts /usr as read-only by default to enhance system security. Reverting it to read-only after modifications is crucial.
- Impact: While this procedure generally does not impact traffic, it is best performed during a maintenance window to avoid potential issues.
- Upgrades: Changes made to files in /usr might not persist across software upgrades. If an upgrade is performed, you may need to repeat the process.
- ecolauceDec 01, 2025
Altostratus
Thank you very much. Based on the reference you provided, I resolved the restrictions caused by read and write permissions, but there are new issues in the subsequent installation steps.
command:
[root@bigip1:Active:Standalone] ~ # npm install -g node-inspector@0.12.8errors:
node-pre-gyp ERR! Tried to download(403): https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v48-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for v8-debug@0.7.7 and node@6.9.1 (node-v48 ABI, glibc) (falling back to source compile with node-gyp)
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.9.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-inspector/node_modules/v8-debug/.node-gyp"
make: Entering directory `/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build'
make: *** No rule to make target `../.node-gyp/6.9.1/include/node/common.gypi', needed by `Makefile'. Stop.
make: Leaving directory `/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.10.0-862.14.4.el7.ve.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v48-linux-x64/debug.node" "--module_name=debug" "--module_path=/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v48-linux-x64"
gyp ERR! cwd /usr/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 '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v48-linux-x64/debug.node --module_name=debug --module_path=/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v48-linux-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/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 Linux 3.10.0-862.14.4.el7.ve.x86_64
node-pre-gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-inspector/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/lib/node_modules/node-inspector/node_modules/v8-debug
node-pre-gyp ERR! node -v v6.9.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v48-linux-x64/debug.node --module_name=debug --module_path=/usr/lib/node_modules/node-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v48-linux-x64' (1)
/usr/lib
`-- (empty)npm ERR! Linux 3.10.0-862.14.4.el7.ve.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/.npm__" "install" "-g" "node-inspector@0.12.8"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLEnpm ERR! v8-debug@0.7.7 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the v8-debug@0.7.7 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! /root/npm-debug.log
npm ERR! code 1logs:
[root@bigip1:INOPERATIVE:Standalone] ~ # tail -50 npm-debug.log
23516 silly install serve-favicon@2.5.1 /usr/lib/node_modules/.staging/serve-favicon-63dec771
23517 info lifecycle serve-favicon@2.5.1~install: serve-favicon@2.5.1
23518 silly lifecycle serve-favicon@2.5.1~install: no script for install, continuing
23519 silly install strong-data-uri@1.0.6 /usr/lib/node_modules/.staging/strong-data-uri-b35e28ad
23520 info lifecycle strong-data-uri@1.0.6~install: strong-data-uri@1.0.6
23521 silly lifecycle strong-data-uri@1.0.6~install: no script for install, continuing
23522 silly install v8-debug@0.7.7 /usr/lib/node_modules/.staging/v8-debug-8568d751
23523 info lifecycle v8-debug@0.7.7~install: v8-debug@0.7.7
23524 verbose lifecycle v8-debug@0.7.7~install: unsafe-perm in lifecycle false
23525 verbose lifecycle v8-debug@0.7.7~install: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/usr/lib/node_modules/node-inspector/node_modules/v8-debug/node_modules/.bin:/usr/lib/node_modules/node-inspector/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
23526 verbose lifecycle v8-debug@0.7.7~install: CWD: /usr/lib/node_modules/node-inspector/node_modules/v8-debug
23527 silly lifecycle v8-debug@0.7.7~install: Args: [ '-c', 'node-pre-gyp install --fallback-to-build' ]
23528 silly lifecycle v8-debug@0.7.7~install: Returned: code: 1 signal: null
23529 info lifecycle v8-debug@0.7.7~install: Failed to exec install script
23530 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
23531 silly rollbackFailedOptional Starting
23532 silly rollbackFailedOptional Finishing
23533 silly runTopLevelLifecycles Finishing
23534 silly install printInstalled
23535 verbose stack Error: v8-debug@0.7.7 install: `node-pre-gyp install --fallback-to-build`
23535 verbose stack Exit status 1
23535 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)
23535 verbose stack at emitTwo (events.js:106:13)
23535 verbose stack at EventEmitter.emit (events.js:191:7)
23535 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:40:14)
23535 verbose stack at emitTwo (events.js:106:13)
23535 verbose stack at ChildProcess.emit (events.js:191:7)
23535 verbose stack at maybeClose (internal/child_process.js:877:16)
23535 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
23536 verbose pkgid v8-debug@0.7.7
23537 verbose cwd /root
23538 error Linux 3.10.0-862.14.4.el7.ve.x86_64
23539 error argv "/usr/bin/node" "/usr/bin/.npm__" "install" "-g" "node-inspector@0.12.8"
23540 error node v6.9.1
23541 error npm v3.10.8
23542 error code ELIFECYCLE
23543 error v8-debug@0.7.7 install: `node-pre-gyp install --fallback-to-build`
23543 error Exit status 1
23544 error Failed at the v8-debug@0.7.7 install script 'node-pre-gyp install --fallback-to-build'.
23544 error Make sure you have the latest version of node.js and npm installed.
23544 error If you do, this is most likely a problem with the v8-debug package,
23544 error not with npm itself.
23544 error Tell the author that this fails on your system:
23544 error node-pre-gyp install --fallback-to-build
23544 error You can get information on how to open an issue for this project with:
23544 error npm bugs v8-debug
23544 error Or if that isn't available, you can get their info via:
23544 error npm owner ls v8-debug
23544 error There is likely additional logging output above.
23545 verbose exit [ 1, true ]Or is there any other way to debug AS3 and other iControl LX Extensions on BIG-IP?
- boneyardDec 02, 2025
MVP
https://my.f5.com/manage/s/article/K34264636 might help out, mentions node-inspector is deprecated and gives another option.
- ecolauceDec 03, 2025
Altostratus
Thank you, I get it. I will debug Node.js using other methods.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
