Kruithne / wow.export

📦 Export Toolkit for World of Warcraft
MIT License
289 stars 55 forks source link

linux-x64 "No available node version satisfies 'node22'" #420

Open knuxyl opened 4 months ago

knuxyl commented 4 months ago

Build fails for linux-x64 with nodejs v22.4.1

pkg@4.5.1 Error! No available node version satisfies 'node22'

Complete output (full paths removed from logs for readability) node ./build.js linux-x64

(node:489980) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) INFO Selected builds: linux-x64 INFO Starting build linux-x64 [guid ed2593bf-7a3d-44b9-bdc0-44e9c26b03c4]... INFO Extracting files from nwjs-v0.69.1-linux-x64.tar.gz... DONE Extracted 21 files (113 filtered) in 2.139s INFO Remapping files and merging additional sources... INFO wow.export/bin/linux-x64/nw -> wow.export/bin/linux-x64/wow.export INFO wow.export/bin/linux-x64/credits.html -> wow.export/bin/linux-x64/license/nwjs.html INFO wow.export/LEGAL -> wow.export/bin/linux-x64/license/LEGAL INFO wow.export/resources/icon.png -> wow.export/bin/linux-x64/res/icon.png INFO wow.export/src/lib/vue.min.js -> wow.export/bin/linux-x64/src/lib/vue.js INFO wow.export/src/lib/three.min.js -> wow.export/bin/linux-x64/src/lib/three.js INFO wow.export/addons/blender/2.80/io_scene_wowobj/init.py -> wow.export/bin/linux-x64/addon/io_scene_wowobj/init.py INFO wow.export/addons/blender/2.80/io_scene_wowobj/import_wowobj.py -> wow.export/bin/linux-x64/addon/io_scene_wowobj/import_wowobj.py INFO wow.export/addons/blender/2.80/io_scene_wowobj/README.txt -> wow.export/bin/linux-x64/addon/io_scene_wowobj/README.txt INFO Bundling sources (entry: wow.export/src/app.js)... DONE 101 sources bundled 786.15 KB -> 356.41 KB (55%) INFO Compiling stylesheet (entry: wow.export/src/app.scss)... DONE Compiled stylesheet (6 files) in 0.152s INFO Cloning sources wow.export/src -> wow.export/bin/linux-x64/src... DONE Cloned 158 source files in 0.011s INFO Compiling updater application (linux-x64)...

pkg@4.5.1 Error! No available node version satisfies 'node22' ERR An unexpected error has halted the build: ERR Error: No available node version satisfies 'node22' at wasReported (wow.export/node_modules/pkg-fetch/lib-es5/log.js:128:13) at _callee$ (wow.export/node_modules/pkg-fetch/lib-es5/index.js:130:40) at tryCatch (wow.export/node_modules/regenerator-runtime/runtime.js:64:40) at Generator.invoke (wow.export/node_modules/regenerator-runtime/runtime.js:299:22) at Generator.next (wow.export/node_modules/regenerator-runtime/runtime.js:124:21) at asyncGeneratorStep (wow.export/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24) at _next (wow.export/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9) at wow.export/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7 at new Promise () at wow.export/node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12

System Information

uname -a

Linux arch-p340 6.9.9-hardened1-1-hardened #1 SMP PREEMPT_DYNAMIC Thu, 11 Jul 2024 20:14:26 +0000 x86_64 GNU/Linux

which node

/usr/bin/node

node --version

v22.4.1

neofetch

                  -`                    knuxyl@arch-p340 
                 .o+`                   ---------------- 
                `ooo/                   OS: Arch Linux x86_64 
               `+oooo:                  Host: 30DK000MUS ThinkStation P340 
              `+oooooo:                 Kernel: 6.9.9-hardened1-1-hardened 
              -+oooooo+:                Uptime: 1 day, 15 hours, 19 mins 
            `/:-:++oooo+:               Packages: 810 (pacman) 
           `/++++/+++++++:              Shell: bash 5.2.26 
          `/++++++++++++++:             Resolution: 2560x1440 
         `/+++ooooooooooooo/`           DE: GNOME 46.3.1 
        ./ooosssso++osssssso+`          WM: Mutter 
       .oossssso-````/ossssss+`         WM Theme: Adwaita 
      -osssssso.      :ssssssso.        Theme: Adwaita-dark [GTK2/3] 
     :osssssss/        osssso+++.       Icons: Adwaita [GTK2/3] 
    /ossssssss/        +ssssooo/-       Terminal: gnome-terminal 
  `/ossssso+/:-        -:/+osssso+-     CPU: Intel Xeon W-1290T (20) @ 4.700GHz 
 `+sso+:-`                 `.-/+oso:    GPU: AMD ATI Radeon Pro WX 4100 
`++:.                           `-/+/   GPU: Intel Comet Lake-S GT2 [UHD Graphics P630] 
.`                                 `/   Memory: 5453MiB / 64014MiB
Smerdokryl commented 4 months ago

pkg has been deprecated: https://github.com/vercel/pkg