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

Can't install in Windows on ARM due to missing dependencies #314

Closed
ivomfrazao opened this issue Jan 2, 2025 · 1 comment
Closed

Can't install in Windows on ARM due to missing dependencies #314

ivomfrazao opened this issue Jan 2, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ivomfrazao
Copy link

Describe the bug
Trying to install using the command provided causes an error due to prebuilt binaries missing.

npm error code 1
npm error path C:\Users\ivofr\AppData\Roaming\npm\node_modules\@microsoft\inshellisense\node_modules\@homebridge\node-pty-prebuilt-multiarch
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node scripts/check-prebuild.js || prebuild-install --verbose || node scripts/install.js
npm error Prebuild binary missing for platform.
npm error prebuild-install info begin Prebuild-install version 7.1.2
npm error prebuild-install info looking for local prebuild @ prebuilds\node-pty-prebuilt-multiarch-v0.11.14-node-v115-win32-arm64.tar.gz
npm error prebuild-install info looking for cached prebuild @ C:\Users\ivofr\AppData\Local\npm-cache\_prebuilds\d0dea4-node-pty-prebuilt-multiarch-v0.11.14-node-v115-win32-arm64.tar.gz
npm error prebuild-install http request GET https://github.com/homebridge/node-pty-prebuilt-multiarch/releases/download/v0.11.14/node-pty-prebuilt-multiarch-v0.11.14-node-v115-win32-arm64.tar.gz
npm error prebuild-install http 404 https://github.com/homebridge/node-pty-prebuilt-multiarch/releases/download/v0.11.14/node-pty-prebuilt-multiarch-v0.11.14-node-v115-win32-arm64.tar.gz
npm error prebuild-install warn install No prebuilt binaries found (target=20.18.1 runtime=node arch=arm64 libc= platform=win32)

Analysing the node-pty-prebuilt-multiarch v0.11.14 asset list, no node-v115-win32-arm64 version exists, only node-v115-win32-x64.
In fact, no win32-arm64 version exists at all in v0.11.14.

Image

To Reproduce

  1. Install the plugin via command provided in README: npm install -g @microsoft/inshellisense

Expected behavior
A successful install should occur.

Environment

  • OS: Windows 11 Home 24H2 (OS Build 26100.2605) 64-bit operating system, ARM-based processor
  • Processor: Snapdragon(R) X 12-core X1E80100
  • Output of is --version: N/A
  • Nodejs Version: 20.18.1 & 22.12.0
  • Shell: PowerShell
  • Shell Version: 5.1.26100.2161
@ivomfrazao ivomfrazao added the bug Something isn't working label Jan 2, 2025
@cpendery
Copy link
Member

cpendery commented Jan 3, 2025

Closing as duplicate of #311

@cpendery cpendery closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants