-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to "npm install" or "yarn add" version 2.8.2 #279
Comments
As the error message says, I think you need to set the environment variable |
@datenreisender I have the same issue (on OS X where the OP seems to be running on Linux), empty folder without If those settings are required (which they aren't needed to any other npm package which build binaries like |
@segoma & @ShaharHD , I got the very same issue on Windows 10, with Git Bash & Node v16.13.0, a setup on which I could install whatever I want, so far. But I could move on with the following operations: Note: I tried to rebuild this library within my Node v16.13.0 environment, but in vain: 4 hours lost! :-\ |
@halstar if that's the case, then you can try to add those settings to the
I'll test on my setup later and will update this comment as well. |
Hi,
We are unable to get the new pc-ble-driver-js on our Debian 11 machines, running node version 12.22.5.
We receive the following error:
npm install pc-ble-driver-js
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path /central/test/node_modules/pc-ble-driver-js
npm ERR! command failed
npm ERR! command sh -c node do_prebuild.js --decompress-only || node do_prebuild.js --install-only || node do_prebuild.js
npm ERR! options.shared_install_dir:/central/test/node_modules/pc-ble-driver-js/Release
npm ERR! options.shared_install_dir:/central/test/node_modules/pc-ble-driver-js/Release
npm ERR! options.shared_install_dir:/central/test/node_modules/pc-ble-driver-js/Release
npm ERR! /central/test/node_modules/pc-ble-driver-js/do_prebuild.js:219
npm ERR! throw new Error("npm_config_runtime needs to be specified");
npm ERR! ^
npm ERR!
npm ERR! Error: npm_config_runtime needs to be specified
npm ERR! at Object. (/central/test/node_modules/pc-ble-driver-js/do_prebuild.js:219:11)
npm ERR! at Module._compile (internal/modules/cjs/loader.js:999:30)
npm ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
npm ERR! at Module.load (internal/modules/cjs/loader.js:863:32)
npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:708:14)
npm ERR! at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
npm ERR! at internal/main/run_main_module.js:17:47
npm ERR! /central/test/node_modules/pc-ble-driver-js/do_prebuild.js:219
npm ERR! throw new Error("npm_config_runtime needs to be specified");
npm ERR! ^
npm ERR!
npm ERR! Error: npm_config_runtime needs to be specified
npm ERR! at Object. (/central/test/node_modules/pc-ble-driver-js/do_prebuild.js:219:11)
npm ERR! at Module._compile (internal/modules/cjs/loader.js:999:30)
npm ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
npm ERR! at Module.load (internal/modules/cjs/loader.js:863:32)
npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:708:14)
npm ERR! at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
npm ERR! at internal/main/run_main_module.js:17:47
npm ERR! /central/test/node_modules/pc-ble-driver-js/do_prebuild.js:219
npm ERR! throw new Error("npm_config_runtime needs to be specified");
npm ERR! ^
npm ERR!
npm ERR! Error: npm_config_runtime needs to be specified
npm ERR! at Object. (/central/test/node_modules/pc-ble-driver-js/do_prebuild.js:219:11)
npm ERR! at Module._compile (internal/modules/cjs/loader.js:999:30)
npm ERR! at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
npm ERR! at Module.load (internal/modules/cjs/loader.js:863:32)
npm ERR! at Function.Module._load (internal/modules/cjs/loader.js:708:14)
npm ERR! at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
npm ERR! at internal/main/run_main_module.js:17:47
npm ERR! A complete log of this run can be found in:
npm ERR! /home/segoma/.npm/_logs/2021-12-14T12_33_41_033Z-debug.log
The text was updated successfully, but these errors were encountered: