Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

esm crashes #931

Open
Thomblin opened this issue Nov 4, 2024 · 0 comments
Open

esm crashes #931

Thomblin opened this issue Nov 4, 2024 · 0 comments

Comments

@Thomblin
Copy link

Thomblin commented Nov 4, 2024

I try to run the example from https://boardgame.io/documentation/#/multiplayer
Granted the packages are outdate and I don't know if or how to upgrade, but when I try to execute
node -r esm src/server.js I get the following weird error message. How can I figure out what is going on?

[email protected] serve
node -r esm src/server.js

node[14506]: void node::fs::InternalModuleStat(const v8::FunctionCallbackInfov8::Value&) at ../src/node_file.cc:1043

Assertion failed: (args.Length()) >= (2)

----- Native stack trace -----

1: 0xfeb747 node::Assert(node::AssertionInfo const&) [node]
2: 0xff5587 [node]
3: 0x7f589a5cf186

----- JavaScript stack trace -----

1: /home/seeb/board_game/node_modules/esm/esm.js:1:34535
2: /home/seeb/board_game/node_modules/esm/esm.js:1:34176
3: /home/seeb/board_game/node_modules/esm/esm.js:1:34506
4: /home/seeb/board_game/node_modules/esm/esm.js:1:173374
5: /home/seeb/board_game/node_modules/esm/esm.js:1:173420
6: /home/seeb/board_game/node_modules/esm/esm.js:1:173521
7: /home/seeb/board_game/node_modules/esm/esm.js:1:258942
8: /home/seeb/board_game/node_modules/esm/esm.js:1:261569
9: e (/home/seeb/board_game/node_modules/esm/esm.js:1:262673)
10: get (/home/seeb/board_game/node_modules/esm/esm.js:1:262740)

Aborted (core dumped)

npm verbose cwd /home/seeb/board_game
npm verbose os Linux 5.15.153.1-microsoft-standard-WSL2
npm verbose node v23.1.0
npm verbose npm v10.9.0
npm verbose exit 134
npm verbose code 134

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant