Package Details: aw-awatcher 0.3.0-1

Git Clone URL: https://aur.archlinux.org/awatcher.git (read-only, click to copy)
Package Base: awatcher
Description: Activity and idle watchers (ActivityWatch module)
Upstream URL: https://github.com/2e3s/awatcher
Licenses: MPL-2.0
Submitter: cuihao
Maintainer: cuihao
Last Packager: cuihao
Votes: 1
Popularity: 0.71
First Submitted: 2024-02-07 18:39 (UTC)
Last Updated: 2024-08-31 02:46 (UTC)

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

cuihao commented on 2024-09-07 02:56 (UTC)

@fenouil From the log I see you are using an old version of NodeJS runtime managed by nvm (/home/xxx/.nvm/versions/node/v14.21.3/bin/node).

I don't think the version is still supported. And generally an Arch package should be built against system packages. Please try either to uninstall the nvm-managed NodeJS or use extra-x86_64-build to build the package in a clean environment.

fenouil commented on 2024-09-06 13:20 (UTC)

The build of vue is crashing

vue-cli-service build

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/home/xxx/.nvm/versions/node/v14.21.3/bin/node',
1 verbose cli   '/home/xxx/.nvm/versions/node/v14.21.3/bin/npm',
1 verbose cli   'run',
1 verbose cli   'build'
1 verbose cli ]
2 info using npm@6.14.18
3 info using node@v14.21.3
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle aw-webui@1.0.0~prebuild: aw-webui@1.0.0
6 info lifecycle aw-webui@1.0.0~build: aw-webui@1.0.0
7 verbose lifecycle aw-webui@1.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle aw-webui@1.0.0~build: PATH: /home/xxx/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/xxx/.cache/yay/awatcher/src/awatcher-0.3.0/aw-webui/node_modules/.bin:/home/xxx/.nvm/versions/node/v14.21.3/bin:/home/xxx/.local/share/gem/ruby/3.0.0/bin:/home/xxx/.cargo/bin:/home/xxx/.local/bin:/home/xxx/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
9 verbose lifecycle aw-webui@1.0.0~build: CWD: /home/xxx/.cache/yay/awatcher/src/awatcher-0.3.0/aw-webui
10 silly lifecycle aw-webui@1.0.0~build: Args: [ '-c', 'vue-cli-service build' ]
11 silly lifecycle aw-webui@1.0.0~build: Returned: code: 1  signal: null
12 info lifecycle aw-webui@1.0.0~build: Failed to exec build script
13 verbose stack Error: aw-webui@1.0.0 build: `vue-cli-service build`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/home/xxx/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:400:28)
13 verbose stack     at ChildProcess.<anonymous> (/home/xxx/.nvm/versions/node/v14.21.3/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:400:28)
13 verbose stack     at maybeClose (internal/child_process.js:1088:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
14 verbose pkgid aw-webui@1.0.0
15 verbose cwd /home/xxx/.cache/yay/awatcher/src/awatcher-0.3.0/aw-webui
16 verbose Linux 6.10.7-arch1-1
17 verbose argv "/home/xxx/.nvm/versions/node/v14.21.3/bin/node" "/home/xxx/.nvm/versions/node/v14.21.3/bin/npm" "run" "build"
18 verbose node v14.21.3
19 verbose npm  v6.14.18
20 error code ELIFECYCLE
21 error errno 1
22 error aw-webui@1.0.0 build: `vue-cli-service build`
22 error Exit status 1
23 error Failed at the aw-webui@1.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]