Skip to content

occur error when import "node:something"

Open

Description

Environment

Reproduction

https://github.com/kyumoon/nuxt-birdge-example/tree/test/ofetch

Describe the bug

I am currently developing in a 'bridge + webpack' environment and found an error while trying to integrate ofetch in advance for migration.
The error is the same as the issue reported #1066.
closed PR: unjs/ofetch#433

From what I have identified, imports with the 'node:' prefix do not work properly and need to be removed for the 'webpack + bridge' environment to function correctly.

스크린샷 2024-08-28 오후 5 54 50

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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