Please install Nodejs v18 - new builds are failing, looks like Node 18 is missing
As shown in the following build:
https://ci.appveyor.com/project/mkrufky/nan/build/job/4u6vpbyhhe95q3ii
```
Environment: nodejs_version=18
Build started
git clone -q --branch=node.18 https://github.com/mkrufky/nan.git C:\projects\nan
git checkout -qf 4be3e5c4e93ddf2014b71ad9717078d76c9ed549
Running Install scripts
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
Updating Node.js v18.0.0 (x86)
Uninstalling Node.js v8.17.0 (x86)...
Installing Node.js v18.0.0 (x86)...
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At C:\Program Files\AppVeyor\BuildAgent\Modules\nodejs-utils\nodejs-utils.psm1:58 char:5
+ (New-Object Net.WebClient).DownloadFile($packageUrl, $packageFile ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
IF %nodejs_version% LSS 4 npm -g install npm@2
IF %nodejs_version% EQU 5 npm -g install npm@3
set PATH=%APPDATA%\npm;%PATH%
npm install
'npm' is not recognized as an internal or external command,
operable program or batch file.
Command exited with code 1
```
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 21 Apr, 2022 11:54 PM
Working on that.
Btw, as I can see there is no x86 build of Node 18.x anymore, so you should be good if you change it to:
2 Posted by Michael Krufkly on 22 Apr, 2022 01:12 PM
Thank you for your quick response! Unfortunately, this did not solve the issue:
https://ci.appveyor.com/project/mkrufky/nan/build/job/8mxnrbybvqij6bss
Any more suggestions? ...or should I try to push the Node.js team to release the x86 binary?
Thanks again! :-)
Support Staff 3 Posted by Feodor Fitsner on 22 Apr, 2022 02:35 PM
I'm not sure - it doesn't look like AppVeyor issue anymore. For the start, you may try bumping node-gyp version to something more recent (
package.json
was last updated 9 months ago): https://github.com/mkrufky/nan/blob/4be3e5c4e93ddf2014b71ad9717078d...Then, perhaps, it could be some options to disable native lib build for x86 platform.
4 Posted by Michael Krufky on 24 Apr, 2022 06:20 PM
Bumping node-gyp did the trick! Thanks!
Support Staff 5 Posted by Feodor Fitsner on 24 Apr, 2022 07:40 PM
Sounds good, thanks for the update!
Feodor Fitsner closed this discussion on 24 Jun, 2022 09:02 PM.