#2084·browserify

Cannot use with imports of Prefix-Only Core Modules

Author: SimoneMSRCreated Dec 7, 2024Updated Dec 7, 2024

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?