Skip to content

Running Example In Repo Fails With Error #18

@jbolda

Description

@jbolda

If you run the example per the contributing guide, you get this error after clicking the "play" button.

❯ node --import tsx --import ./loader.ts examples/example.ts --suspend
effection inspector@0.0.1 running at http://localhost:41000/live
suspending main, waiting for inspector to attach...
done
Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

    at assert (node:internal/assert:11:11)
    at writableStreamDefaultControllerGetChunkSize (node:internal/webstreams/writablestream:1184:5)
    at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:983:21)
    at WritableStreamDefaultWriter.write (node:internal/webstreams/writablestream:443:12)
    at EventStream._sendEvent (file:///Users/jacobbolda/dev/github/thefrontside/inspector/node_modules/.pnpm/h3@2.0.1-rc.14/node_modules/h3/dist/h3-Dol7UbDx.mjs:1533:22)
    at EventStream.push (file:///Users/jacobbolda/dev/github/thefrontside/inspector/node_modules/.pnpm/h3@2.0.1-rc.14/node_modules/h3/dist/h3-Dol7UbDx.mjs:1509:14)
    at Delimiter.operation (/Users/jacobbolda/dev/github/thefrontside/inspector/lib/sse-server.ts:61:28)
    at Generator.next (<anonymous>)
    at Delimiter.delimiter (/Users/jacobbolda/dev/github/thefrontside/inspector/node_modules/.pnpm/effection@4.1.0-alpha.5/node_modules/effection/src/lib/delimiter.ts:82:31)
    at delimiter.next (<anonymous>) {
  code: 'ERR_INTERNAL_ASSERTION'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions