interledger / web-monetization-extension

An open-source browser extension that enables Web Monetization.
Apache License 2.0
46 stars 2 forks source link

[BUG] Unable to build project unless I downgrade node:fetch version #316

Open RabebOthmani opened 2 weeks ago

RabebOthmani commented 2 weeks ago

Steps to reproduce

I tried to build the project locally on my machine but kept getting an error message " Module build failed: UnhandledSchemeError: Reading from "node:fetch" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs."

Expected result

Following all the steps on the ReadMe and installing all necessary modules, I was expecting the project to build without having to fiddle with any versions. But since it seems like this is a known issue with node, maybe we should at least mention it on the ReadMe for users to know how to handle the issue.

Actual result

The workaround to make the project build is to downgrade the node:fetch version. It does seem to be a known issue https://github.com/vercel/next.js/discussions/33982 .

Screenshots or videos

No response

Additional context

No response

Operating system

Windows

Operating system version

No response

Browsers

Chrome

Browser version

No response

Extension version

Alpha