Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occur error when import "node:something" #1301

Open
kyumoon opened this issue Aug 28, 2024 · 1 comment
Open

occur error when import "node:something" #1301

kyumoon opened this issue Aug 28, 2024 · 1 comment

Comments

@kyumoon
Copy link

kyumoon commented Aug 28, 2024

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

@wattanx
Copy link
Collaborator

wattanx commented Aug 28, 2024

This may be a problem with Nuxt 2 rather than Nuxt Bridge.
(as it also occurs without the nuxt bridge).

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

No branches or pull requests

2 participants