Skip to content

issue with newer versions of node #24

@flightnc

Description

@flightnc

In trying to use this repro outright, there seems to be both updates to node and also discord where it's giving a 'node:events - module not found' when running the node v16.17.0 (LTS version of v16).

After backtracking and re-building under the tutorial, it appears that the culprit is in index.js -- specifically:
require = require("esm")(module/, options/);`
After commenting this out, it seems to run.

Tim, if you have an explanation, that would be helpful to better understand esm within this context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions