chore: upgrade deps to latest #67
Annotations
8 errors
gyp (ubuntu-24.04)
Process completed with exit code 1.
|
index.test.mjs > NW.js Selenium test suite example > text is displayed on page:
index.test.mjs#L40
AssertionError: expected '' to deeply equal 'world'
- Expected
+ Received
- world
❯ index.test.mjs:40:22
|
Unhandled error:
index.mjs#L55
Error: Command failed: node-gyp rebuild --target=23.10.0 --nodedir=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.12.3 found at "/usr/bin/python3"
gyp WARN read config.gypi ENOENT: no such file or directory, open '/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/include/node/config.gypi'
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/home/runner/work/nw-node-addon-example/nw-node-addon-example/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/runner/work/nw-node-addon-example/nw-node-addon-example/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node',
gyp info spawn args '-Dnode_gyp_dir=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/$(Configuration)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/runner/work/nw-node-addon-example/nw-node-addon-example',
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 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
In file included from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-handle-base.h:8,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-local-handle.h:13,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-array-buffer.h:12,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8.h:24,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/src/node.h:73,
from ../hello.cc:1:
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-internal.h:429:1: warning: multi-line comment [-Wcomment]
429 | // / \
| ^
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-internal.h:431:1: warning: multi-line comment [-Wcomment]
431 | // / \
| ^
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/src/node.h:1229:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
1229 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/src/node.h:1273:3: note: in expansion of macro ‘NODE_MODULE_X’
1273 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../hello.cc:22:1: note: in expansion of macro ‘NODE_MODULE’
22 | NODE_MODULE(DEMO, Initialize)
| ^~~~~~~~~~~
collect2: fatal error: cannot find ‘ld’
compilation terminated.
make: *** [hello.target.mk:155: Release/obj.target/hello.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/home/runner/work/nw-node-addon-example/nw-
|
Unhandled error:
index.mjs#L55
Error: Command failed: node-gyp rebuild --target=23.10.0 --nodedir=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.12.3 found at "/usr/bin/python3"
gyp WARN read config.gypi ENOENT: no such file or directory, open '/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/include/node/config.gypi'
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/home/runner/work/nw-node-addon-example/nw-node-addon-example/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/runner/work/nw-node-addon-example/nw-node-addon-example/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node',
gyp info spawn args '-Dnode_gyp_dir=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/$(Configuration)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/runner/work/nw-node-addon-example/nw-node-addon-example',
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 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
In file included from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-handle-base.h:8,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-local-handle.h:13,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-array-buffer.h:12,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8.h:24,
from /home/runner/work/nw-node-addon-example/nw-node-addon-example/node/src/node.h:73,
from ../hello.cc:1:
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-internal.h:429:1: warning: multi-line comment [-Wcomment]
429 | // / \
| ^
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/deps/v8/include/v8-internal.h:431:1: warning: multi-line comment [-Wcomment]
431 | // / \
| ^
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/src/node.h:1229:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
1229 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/runner/work/nw-node-addon-example/nw-node-addon-example/node/src/node.h:1273:3: note: in expansion of macro ‘NODE_MODULE_X’
1273 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../hello.cc:22:1: note: in expansion of macro ‘NODE_MODULE’
22 | NODE_MODULE(DEMO, Initialize)
| ^~~~~~~~~~~
collect2: fatal error: cannot find ‘ld’
compilation terminated.
make: *** [hello.target.mk:155: Release/obj.target/hello.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/home/runner/work/nw-node-addon-example/nw-
|
gyp (macos-15)
Process completed with exit code 1.
|
index.test.mjs > NW.js Selenium test suite example > text is displayed on page:
index.test.mjs#L40
AssertionError: expected '' to deeply equal 'world'
- Expected
+ Received
- world
❯ index.test.mjs:40:22
|
Unhandled error:
index.mjs#L55
Error: Command failed: node-gyp rebuild --target=23.10.0 --nodedir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info find Python using Python version 3.13.3 found at "/opt/homebrew/opt/[email protected]/bin/python3.13"
gyp WARN read config.gypi ENOENT: no such file or directory, open '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node/include/node/config.gypi'
gyp info spawn /opt/homebrew/opt/[email protected]/bin/python3.13
gyp info spawn args [
gyp info spawn args '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/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 '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node',
gyp info spawn args '-Dnode_gyp_dir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node/$(Configuration)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example',
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 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
clang++: error: invalid linker name in argument '-fuse-ld=lld'
make: *** [Release/hello.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! System Darwin 24.4.0
gyp ERR! command "/Users/runner/hostedtoolcache/volta/2.0.2/arm64/tools/image/node/23.10.0/bin/node" "/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/.bin/node-gyp" "rebuild" "--target=23.10.0" "--nodedir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node"
gyp ERR! cwd /Users/runner/work/nw-node-addon-example/nw-node-addon-example
gyp ERR! node -v v23.10.0
gyp ERR! node-gyp -v v11.2.0
gyp ERR! not ok
❯ genericNodeError node:internal/errors:983:15
❯ wrappedFn node:internal/errors:537:14
❯ checkExecSyncError node:child_process:882:11
❯ Object.execSync node:child_process:954:15
❯ rebuild index.mjs:55:19
❯ main index.mjs:66:5
❯ index.test.mjs:21:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 32, 32, 67, 88, 88, 40, 116, 97, 114, 103, 101, 116, 41, 32, 82, 101, 108, 101, 97, 115, 101, 47, 111, 98, 106, 46, 116, 97, 114, 103, 101, 116, 47, 104, 101, 108, 108, 111, 47, 104, 101, 108, 108, 111, 46, 111, 10, 32, 32, 83, 79, 76, 73, 78, 75, 95, 77, 79, 68, 85, 76, 69, 40, 116, 97, 114, 103, 101, 116, 41, 32, 82, 101, 108, 101, 97, 115, 101, 47, 104, 101, 108, 108, 111, 46, 110, 111, 100, 101, 10 ] }, { type: 'Buffer', data: [ 103, 121, 112, 32, 105, 110, 102, 111, 32, 105, 116, 32, 119, 111, 114, 107, 101, 100, 32, 105, 102, 32, 105, 116, 32, 101, 110, 100, 115, 32, 119, 105, 116, 104, 32, 111, 107, 10, 103, 121, 112, 32, 105, 110, 102, 111, 32, 117, 115, 105, 110, 103, 32, 110, 111, 100, 101, 45, 103, 121, 112, 64, 49, 49, 46, 50, 46, 48, 10, 103, 121, 112, 32, 105, 110, 102, 111, 32, 117, 115, 105, 11
|
Unhandled error:
index.mjs#L55
Error: Command failed: node-gyp rebuild --target=23.10.0 --nodedir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info find Python using Python version 3.13.3 found at "/opt/homebrew/opt/[email protected]/bin/python3.13"
gyp WARN read config.gypi ENOENT: no such file or directory, open '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node/include/node/config.gypi'
gyp info spawn /opt/homebrew/opt/[email protected]/bin/python3.13
gyp info spawn args [
gyp info spawn args '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/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 '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node',
gyp info spawn args '-Dnode_gyp_dir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node/$(Configuration)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example',
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 info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
clang++: error: invalid linker name in argument '-fuse-ld=lld'
make: *** [Release/hello.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! System Darwin 24.4.0
gyp ERR! command "/Users/runner/hostedtoolcache/volta/2.0.2/arm64/tools/image/node/23.10.0/bin/node" "/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node_modules/.bin/node-gyp" "rebuild" "--target=23.10.0" "--nodedir=/Users/runner/work/nw-node-addon-example/nw-node-addon-example/node"
gyp ERR! cwd /Users/runner/work/nw-node-addon-example/nw-node-addon-example
gyp ERR! node -v v23.10.0
gyp ERR! node-gyp -v v11.2.0
gyp ERR! not ok
❯ genericNodeError node:internal/errors:983:15
❯ wrappedFn node:internal/errors:537:14
❯ checkExecSyncError node:child_process:882:11
❯ Object.execSync node:child_process:954:15
❯ rebuild index.mjs:55:19
❯ main index.mjs:66:5
❯ index.mjs:18:1
❯ VitestExecutor.runModule node_modules/vite-node/dist/client.mjs:354:3
❯ VitestExecutor.directRequest node_modules/vite-node/dist/client.mjs:333:3
❯ VitestExecutor.cachedRequest node_modules/vite-node/dist/client.mjs:168:11
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 32, 32, 67, 88, 88, 40, 116, 97, 114, 103, 101, 116, 41, 32, 82, 101, 108, 101, 97, 115, 101, 47, 111, 98, 106, 46, 116, 97, 114, 103, 101, 116, 47, 104, 101, 108, 108, 111, 47, 104, 101, 108, 108, 111, 46, 111, 10, 32, 32, 83, 79, 76, 73, 78, 75, 95, 77, 79, 68, 85, 76, 69, 40, 116, 97, 114, 103, 101, 116, 41, 32, 82, 101, 108, 101, 97, 115, 101, 47, 104, 101, 108, 108, 111, 46, 110, 111, 100, 101, 10 ] }, { type: 'Buffer', data: [ 103, 121, 112, 32, 105, 110, 102, 111, 32, 105, 116, 32, 119, 111, 114, 107, 101, 100, 32, 105, 102, 32, 105, 116, 32, 101, 110, 100, 115, 32, 119, 105, 116, 104
|