stackgl / headless-gl

🎃 Windowless WebGL for node.js
1.76k stars 169 forks source link

Prebuild-install not found with v8.1.0 on Windows x64 with Nodejs v20.12.2 #301

Open harryhongkh opened 6 days ago

harryhongkh commented 6 days ago

npm build gl image NODE image

dhritzkiv commented 6 days ago

Could you perform these steps to help me debug this?

  1. git clone this repo
  2. cd into the repo's directory
  3. run npx prebuild-install --download --verbose

Then paste the output into a comment

harryhongkh commented 6 days ago

Need to install the following packages: prebuild-install@7.1.2 Ok to proceed? (y) prebuild-install info begin Prebuild-install version 7.1.2 prebuild-install info looking for local prebuild @ prebuilds\gl-v8.1.0-node-v115-win32-x64.tar.gz prebuild-install info looking for cached prebuild @ C:\Users\Harry.Hong\AppData\Local\npm-cache_prebuilds\ded633-gl-v8.1.0-node-v115-win32-x64.tar.gz prebuild-install info found cached prebuild prebuild-install info unpacking @ C:\Users\Harry.Hong\AppData\Local\npm-cache_prebuilds\ded633-gl-v8.1.0-node-v115-win32-x64.tar.gz prebuild-install info unpack resolved to C:\Users\Harry.Hong\test\headless-gl\build\Release\webgl.node prebuild-install warn install The specified module could not be found. \?\C:\Users\Harry.Hong\test\headless-gl\build\Release\webgl.node

dhritzkiv commented 6 days ago

Thank you.

Looks like the prerelease artifact/file (v8.1.0-node-v115-win32-x64.tar.gz) does exist (and was written to C:\Users\Harry.Hong\test\headless-gl\build\Release\webgl.node) but it fails to install correctly. Unsure how to fix this right now.

dhritzkiv commented 6 days ago

I suspect that part of the binary wasn't uploaded correctly to the GitHub release. Most likely the dll is missing.

Are you able to still install the gl package, without the prebuilt binary?

harryhongkh commented 6 days ago

We would wait for the pre-built to align the envs :) thanks for looking into it. ❤️ from Toronto.