Skip to content

node:module register is not a function #23201

Description

@ry

Version: deno 1.42.1+92a8ada

https://nodejs.org/docs/latest/api/module.html#moduleregisterspecifier-parenturl-options

# npm init @observablehq
# cd hello-framework
# deno task dev --debug
Task dev observable preview "--debug"

Unexpected error: N.register is not a function
The full error follows

error: Uncaught (in promise) TypeError: N.register is not a function
    at C (file:///Users/ry/src/hello-framework/node_modules/.deno/@[email protected]/node_modules/tsx/dist/esm/index.mjs:1:695)
    at file:///Users/ry/src/hello-framework/node_modules/.deno/@[email protected]/node_modules/tsx/dist/esm/index.mjs:5:1913

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions