AcalaNetwork / chopsticks

Create parallel reality of your Substrate network.
Apache License 2.0
123 stars 73 forks source link

TypeError: Cannot read properties of null (reading 'length') #753

Open Doordashcon opened 1 month ago

Doordashcon commented 1 month ago

Experiencing this networking issue

Purpose

Attempting to test the functionality of the upcoming Secretary Collective here

WASM

Error Message

TypeError: Cannot read properties of null (reading 'length') at WebSocket.__internal__onSocketMessage (/Users/.../runtimes/node_modules/@polkadot/rpc-provider/cjs/ws/index.js:397:40) at [nodejs.internal.kHybridDispatch] (node:internal/event_target:821:20) at WebSocket.dispatchEvent (node:internal/event_target:756:26) at fireEvent (node:internal/deps/undici/undici:10966:14) at websocketMessageReceived (node:internal/deps/undici/undici:10988:7) at ByteParser.run (node:internal/deps/undici/undici:11439:17) at ByteParser._write (node:internal/deps/undici/undici:11315:14) at writeOrBuffer (node:internal/streams/writable:564:12) at _write (node:internal/streams/writable:493:10) at Writable.write (node:internal/streams/writable:502:10)

Execution

npx @acala-network/chopsticks@latest \
--config=./polkadot.yml  --endpoint wss://polkadot-rpc.dwellir.com
xlc commented 1 month ago

this is due to Node.js v22.1.0