Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot use with imports of Prefix-Only Core Modules #2084

@SimoneMSR

Description

@SimoneMSR

When trying to browserify with

browserify --node ./test.js > bundle.js

this test.js file, containing one row:

require("node:fs")

I get this error

Error: Can't walk dependency graph: ENOENT: no such file or directory, lstat 'EXAMPLE\node:fs'
    required by EXAMPLE\test.js

Am I doing something wrong? Can I use this library with Prefix-Only imports?

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