Skip to content
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

Cannot install any version later than 1.9.2-23 on Windows 11 23H2 #334

Closed
AnnoyingMoose opened this issue May 27, 2024 · 2 comments
Closed

Comments

@AnnoyingMoose
Copy link

PS C:\Users\[me]\source\repos\[project]> npm i @abandonware/noble@1.9.2-24
npm ERR! code 1
npm ERR! path C:\Users\[me]\source\repos\[project]\node_modules\@abandonware\noble
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build
npm ERR! 'C:\Program' is not recognized as an internal or external command,
npm ERR! operable program or batch file.

npm ERR! A complete log of this run can be found in: C:\Users\[me]\AppData\Local\npm-cache\_logs\2024-05-27T14_05_09_287Z-debug-0.log
PS C:\Users\[me]\source\repos\[project]> npm i @abandonware/noble@1.9.2-25
npm ERR! code 1
npm ERR! path C:\Users\[me]\source\repos\[project]\node_modules\@abandonware\noble
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build
npm ERR! 'C:\Program' is not recognized as an internal or external command,
npm ERR! operable program or batch file.

npm ERR! A complete log of this run can be found in: C:\Users\[me]\AppData\Local\npm-cache\_logs\2024-05-27T14_05_55_501Z-debug-0.log

However, 1.9.2-23 installs and works (bugs aside) just fine.

@JovannMC
Copy link

JovannMC commented Jun 7, 2024

This seems to be related to node-gyp-build and not @abandonware/noble, I had this as well and was fixed by installing node-gyp-build@4.8.0 as a dev dependency.
Refer to this: prebuild/node-gyp-build#71

@AnnoyingMoose
Copy link
Author

Ah, I see. Thank you for the workaround! Closing this issue, as it is not a problem with @abandonware/noble, as @JovannMC stated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants