nvm
should be added as an optional dependency, or warn/exit if the correct npm version isn't installed
Search Criteria
Package Details: wowup 2.20.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/wowup.git (read-only, click to copy) |
---|---|
Package Base: | wowup |
Description: | World of Warcraft addon updater |
Upstream URL: | https://github.com/WowUp/WowUp |
Licenses: | GPL3 |
Submitter: | cyano |
Maintainer: | cyano |
Last Packager: | cyano |
Votes: | 7 |
Popularity: | 0.026156 |
First Submitted: | 2020-11-11 05:22 (UTC) |
Last Updated: | 2024-09-03 03:06 (UTC) |
Dependencies (3)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- nodejs-lts-iron (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
Required by (0)
Sources (7)
luthes commented on 2022-06-25 00:45 (UTC)
cyano commented on 2021-12-14 12:33 (UTC) (edited on 2022-07-11 13:56 (UTC) by cyano)
Major upgrades of Node.js may break the build process.
Downgrade Node.js, use nvm to switch Node.js releases, or try pre-built packages from https://github.com/cyano-linux/aur-wowup/releases.
cyano commented on 2021-12-14 12:17 (UTC) (edited on 2021-12-14 12:20 (UTC) by cyano)
@danbell It's an upstream issue.
Downgrade to Node.js 16 (pacman -S nodejs-lts-gallium
) or use nvm
(see mr_nuub's comment) will fix it.
danbell commented on 2021-12-14 09:52 (UTC) (edited on 2021-12-14 09:55 (UTC) by danbell)
Am getting the following when I try to makepkg -si, sorry I am not familar with formatting and such.
• electron-builder version=22.13.1 os=5.15.5-arch1-1
• loaded configuration file=/home/dan/Downloads/wowup/src/WowUp-2.5.2/wowup-electron/electron-builder.json
• writing effective config file=release/builder-effective-config.yaml
• executing node-gyp rebuild platform=linux arch=x64
⨯ node-gyp exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
Error output:
gyp info it worked if it ends with ok
gyp info using node-gyp@8.3.0
gyp info using node@17.2.0 | linux | x64
gyp info find Python using Python version 3.10.1 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/dan/Downloads/wowup/src/WowUp-2.5.2/wowup-electron/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
pi',
gyp info spawn args '-I',
gyp info spawn args '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/dan/.electron-gyp/15.3.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/dan/.electron-gyp/15.3.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/dan/.electron-gyp/15.3.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/dan/Downloads/wowup/src/WowUp-2.5.2/wowup-electron',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:261:16)
gyp ERR! stack at ChildProcess.emit (node:events:390:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.15.5-arch1-1
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/dan/Downloads/wowup/src/WowUp-2.5.2/wowup-electron
gyp ERR! node -v v17.2.0
gyp ERR! node-gyp -v v8.3.0
gyp ERR! not ok
at ChildProcess.<anonymous> (/home/dan/Downloads/wowup/src/WowUp-2.5.2/wowup-electron/node_modules/builder-util/src/util.ts:250:14)
at Object.onceWrapper (node:events:510:26)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1062:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
==> ERROR: A failure occurred in build().
Aborting...
mr_nuub commented on 2021-05-18 07:44 (UTC)
Hi! I came across these messages:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'opossum@6.0.1',
npm WARN EBADENGINE required: { node: '^15 || ^14 || ^12 || ^10' },
npm WARN EBADENGINE current: { node: 'v16.0.0', npm: '7.11.2' }
npm WARN EBADENGINE }
There is no need to downgrade Node.JS. Just install nvm and run nvm install 15 --latest-npm
(or nvm use 15
if it's already installed) right before building.
nikost74 commented on 2021-05-11 15:16 (UTC) (edited on 2021-05-11 15:17 (UTC) by nikost74)
Confirmed that Node.js v15.14 works for building. You can follow the instrucions here on how to downgrade from latest to 15.14 (check Alternate installations under Installation): https://wiki.archlinux.org/title/Node.js#Installation
cyano commented on 2021-04-26 00:27 (UTC) (edited on 2021-05-11 23:49 (UTC) by cyano)
Node.js v16.0 breaks electron-builder
. The error message looks like:
editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening. stackTrace=
Error: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
at ...
Downgrade to Node.js v15.14 will temporarily fix it. nodejs at ALA
Update: fixed in 2.2.1-1 by upgrading electron-builder
to 22.11.x.
cyano commented on 2021-04-01 23:44 (UTC)
Upgrading to 2.2.0-beta.17 for Bruning Crusade Classic Beta support.
To add a classic beta client, click the “Add New” button in “Options > Clients” and navigate to World of Warcraft/_classic_beta_/WowClassicB.exe
, and then change the addon update channal to “Alpha”.
Pinned Comments
cyano commented on 2021-12-14 12:33 (UTC) (edited on 2022-07-11 13:56 (UTC) by cyano)
Major upgrades of Node.js may break the build process.
Downgrade Node.js, use nvm to switch Node.js releases, or try pre-built packages from https://github.com/cyano-linux/aur-wowup/releases.