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

fix: remove node: prefix from import statement for webpack + nuxt bridge #433

Closed
wants to merge 1 commit into from

Conversation

kyumoon
Copy link

@kyumoon kyumoon commented Aug 28, 2024

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 in the bridge repository below.
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

issue: nuxt/bridge#1066 ( bridge )
reproduction: https://github.com/kyumoon/nuxt-birdge-example/tree/test/ofetch

@pi0
Copy link
Member

pi0 commented Aug 28, 2024

node: protocol is supported in all stable Node.js versions and ofetch targets modern runtimes/syntax.

Please raise an issue in nuxt bridge, to support node: protocol 🙏🏼

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

Successfully merging this pull request may close these issues.

2 participants