-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I get the following error on both Node v23.4.0 and Node v22:
$ npm test ─╯
> @phyloref/phyx@1.1.1 pretest
> npm run lint
> @phyloref/phyx@1.1.1 lint
> eslint "src/**/*.js" "test/**/*.js" "**/*.json"
warning: [@cypress/eslint-plugin-json]: Skipping file due to "json/json-with-comments-files" setting:
["**/tsconfig.json", ".vscode/**"]
To remove this warning add "versions/lib/node_modules/npm/node_modules/hasown/tsconfig.json" to your `.eslintignore` file (undefined) at versions/lib/node_modules/npm/node_modules/hasown/tsconfig.json:
warning: [@cypress/eslint-plugin-json]: Skipping file due to "json/json-with-comments-files" setting:
["**/tsconfig.json", ".vscode/**"]
To remove this warning add "versions/src/node-v20.12.2-darwin-arm64/lib/node_modules/npm/node_modules/hasown/tsconfig.json" to your `.eslintignore` file (undefined) at versions/src/node-v20.12.2-darwin-arm64/lib/node_modules/npm/node_modules/hasown/tsconfig.json:
2 warnings found.
> @phyloref/phyx@1.1.1 test
> mocha --recursive
# /opt/homebrew/Cellar/node/23.4.0/bin/node[22181]: void node::fs::InternalModuleStat(const FunctionCallbackInfo<Value> &) at ../src/node_file.cc:1045
# Assertion failed: (args.Length()) >= (2)
----- Native stack trace -----
1: 0x1003f73a4 node::Assert(node::AssertionInfo const&) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
2: 0x10040be6c node::fs::InternalModuleStat(v8::FunctionCallbackInfo<v8::Value> const&) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
3: 0x100152978 Builtins_CallApiCallbackGeneric [/opt/homebrew/Cellar/node/23.4.0/bin/node]
4: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
5: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
6: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
7: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
8: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
9: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
10: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
11: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
12: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
13: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
14: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
15: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
16: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
17: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
18: 0x109996c58
19: 0x109996274
20: 0x109998878
21: 0x10998edd0
22: 0x10998f960
23: 0x10998a7f8
24: 0x10998ac3c
25: 0x10998ae3c
26: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
27: 0x109996c58
28: 0x109996274
29: 0x109998878
30: 0x10998edd0
31: 0x10998f960
32: 0x10998a7f8
33: 0x10998ac3c
34: 0x10998ae3c
35: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
36: 0x109996c58
37: 0x109996274
38: 0x109998878
39: 0x10998edd0
40: 0x10998f960
41: 0x10998a7f8
42: 0x10998ac3c
43: 0x10998ae3c
44: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
45: 0x109996c58
46: 0x109996274
47: 0x109998878
48: 0x10998edd0
49: 0x10998f960
50: 0x10998a7f8
51: 0x10998ac3c
52: 0x10998ae3c
53: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
54: 0x109996c58
55: 0x109996274
56: 0x109998878
57: 0x10998edd0
58: 0x10998f960
59: 0x10998a7f8
60: 0x10998ac3c
61: 0x10998ae3c
62: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
63: 0x109996c58
64: 0x109996274
65: 0x109998878
66: 0x10998edd0
67: 0x10998f960
68: 0x10998a7f8
69: 0x10998ac3c
70: 0x10998ae3c
71: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
72: 0x109996c58
73: 0x109996274
74: 0x109998878
75: 0x10998edd0
76: 0x10998f960
77: 0x10998a7f8
78: 0x10998ac3c
79: 0x10998ae3c
80: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
81: 0x109996c58
82: 0x109996274
83: 0x109998878
84: 0x10998edd0
85: 0x10998f960
86: 0x10998a7f8
87: 0x10998ac3c
88: 0x10998ae3c
89: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
90: 0x100202648 Builtins_ArrayForEach [/opt/homebrew/Cellar/node/23.4.0/bin/node]
91: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
92: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
93: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
94: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
95: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
96: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
97: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
98: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
99: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
100: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
101: 0x100150838 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
102: 0x10014e50c Builtins_JSEntryTrampoline [/opt/homebrew/Cellar/node/23.4.0/bin/node]
103: 0x10014e1b0 Builtins_JSEntry [/opt/homebrew/Cellar/node/23.4.0/bin/node]
104: 0x1006c47c0 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
105: 0x1006c4120 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
106: 0x1005b4bb8 v8::Function::Call(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
107: 0x1003d60bc node::builtins::BuiltinLoader::CompileAndCall(v8::Local<v8::Context>, char const*, node::Realm*) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
108: 0x100478660 node::Realm::ExecuteBootstrapper(char const*) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
109: 0x1003b3c90 node::StartExecution(node::Environment*, char const*) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
110: 0x1003b3c30 node::StartExecution(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
111: 0x10030ec78 node::LoadEnvironment(node::Environment*, std::__1::function<v8::MaybeLocal<v8::Value> (node::StartExecutionCallbackInfo const&)>, std::__1::function<void (node::Environment*, v8::Local<v8::Value>, v8::Local<v8::Value>)>) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
112: 0x100443538 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
113: 0x1004432f0 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/23.4.0/bin/node]
114: 0x1003b8a68 node::Start(int, char**) [/opt/homebrew/Cellar/node/23.4.0/bin/node]
115: 0x1843bc274 start [/usr/lib/dyld]
----- JavaScript stack trace -----
1: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:34535
2: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:34176
3: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:34506
4: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:173374
5: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:173420
6: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:173521
7: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:258942
8: /Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:261569
9: e (/Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:262673)
10: get (/Users/gaurav/Developer/phyloref/phyx.js/node_modules/esm/esm.js:1:262740)
[1] 22097 abort npm testBut it works fine on Node v20.18.1.
Metadata
Metadata
Assignees
Labels
No labels