appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 64 forks source link

Node installation fails on VS 2022 machine #3889

Closed HarelM closed 9 months ago

HarelM commented 9 months ago

The following build started failing last night: https://ci.appveyor.com/project/IsraelHikingHost/site/builds/47994907/job/prvvw56lifut9jdq It fails on node js installation (or selecting a version, not sure what the command does): image The following was the last successful build: https://ci.appveyor.com/project/IsraelHikingHost/site/builds/47992576/job/w7sflacpj5p6jw2a I tried to change the node version from 16.18 to 18.16 but it didn't help, I still got the same error message: node x86 package not found

Any help would be appreciated, I don't think I'm doing something wrong as far as I know...

Let me know if there's anything else I can help with in order to resolve this. Does nvm work on windows? It would be great to use it instead of something specific to appveyor (Install-Product).

mortend commented 9 months ago

I am experiencing the same problem.

I tried adding x64 at the end of Install-Product, but still getting x86 package not found.

Used to work fine a couple of days ago.

FeodorFitsner commented 9 months ago

Sorry guys, it should be fixed now.

HarelM commented 9 months ago

Thanks for the quick turn around. I'm not sure this is fully resolved though, I still see an error when running the tests in my latest build: node: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.28' not found (required by node)` See here: https://ci.appveyor.com/project/IsraelHikingHost/site/builds/47995548/job/01gdjq34tldgdt4a

FeodorFitsner commented 9 months ago

It's a different issue. Node 18.x cannot be run on Ubuntu 18.04 (ubuntu image).

HarelM commented 9 months ago

Oh, I didn't know that... Thanks for the quick response! I'll change my CI script to fix that. Keep up the good work!

FeodorFitsner commented 9 months ago

Sure! Here's more info just in case: https://github.com/nodesource/distributions/issues/1392#issuecomment-1117293318

HarelM commented 9 months ago

Yea, I just found that too. Very strange I must say. In any case, I changed my ubuntu build to use 20.04, I hope that this won't need any other changes. Shouldn't 20.04 be the default then?