Skip to content

Failed to load url /node_modules/path-browserify/posix #48

@j4k0xb

Description

@j4k0xb

Reproduction: https://stackblitz.com/edit/vitejs-vite-1axycb?file=main.js
Its currently possible to do import { join } from 'path' or import { posix } from 'path' but not these:

import { join } from 'path/posix';
import { join } from 'node:path/posix';

Error:

Failed to load url /node_modules/path-browserify/posix (resolved id: /home/projects/vitejs-vite-1axycb/node_modules/path-browserify/posix) in /home/projects/vitejs-vite-1axycb/main.js. Does the file exist?

(Not sure if that is the correct repo to report it to or https://github.com/niksy/node-stdlib-browser)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions