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

Headless GL does not work on Windows Azure App Service #222

Open
RonanVonkVW opened this issue Nov 25, 2021 · 6 comments
Open

Headless GL does not work on Windows Azure App Service #222

RonanVonkVW opened this issue Nov 25, 2021 · 6 comments

Comments

@RonanVonkVW
Copy link

RonanVonkVW commented Nov 25, 2021

There seem to be no pre-built binaries available that meet the requirements on a Windows based Azure Web Service.

npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: 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.
prebuild-install WARN install No prebuilt binaries found (target=14.16.0 runtime=node arch=ia32 libc= platform=win32)
gyp ERR! build error 
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files (x86)\npm\6.14.11\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Program Files (x86)\\nodejs\\14.16.0\\node.exe" "C:\\Program Files (x86)\\npm\\6.14.11\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\home\site\wwwroot\node_modules\gl
gyp ERR! node -v v14.16.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\local\AppData\npm-cache\_logs\2021-11-25T13_23_14_031Z-debug.log


when installing the package the following error occurs.

@RonanVonkVW
Copy link
Author

I have changed to App Service to use the X64 platform but that has no effect on the resulting output.

@dhritzkiv
Copy link
Member

Hey @RonanVonkVW. I'm not familiar with App Service, but can you make sure that it is in fact a 64 bit instance?

Specifically, if you run

node -p "process.arch"

It should spit out x64 (and not x86, for example)

@dhritzkiv
Copy link
Member

Also, note that it's possible to run 32-bit node.js on a 64-bit instance, so that's something to be aware of. You may need to specifically install 64-bit node.js.

@RonanVonkVW
Copy link
Author

Will do that today, I'll let you know.

@RonanVonkVW
Copy link
Author

Alright, the console produces ia32 in response:
image

So I would assume a 64-bit variety of Node should be installed in order for this to work then?

@dhritzkiv
Copy link
Member

That's right

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