node-fetch v3.3.1 Could not load stream-browserify/web: ENOENT: no such file or directory
Reproduction
Steps to reproduce the behavior:
You can reproduce with this repo: https://github.com/helbing/node-fetch-issue-1724
Expected behavior
I use node-fetch@2 can build success, but not working in node-fetch@3, I expect it can work.
Screenshots
Your Environment
| software | version |
|---|---|
| node-fetch | v3.3.1 |
| node | v18.15.0 |
| npm | v9.5.0 |
| Operating System | macOS 13.2.1 (22D68) |
Additional context
are you trying to browserify node-fetch?
node fetch is built for NodeJS just use global fetch instead.
are you trying to browserify node-fetch?
node fetch is built for NodeJS just use global fetch instead.
It's work for an SSR service. It can build success with node-fetch@2 but will report an error with node-fetch@3. You can reproduce this with this repo: https://github.com/helbing/node-fetch-issue-1724
Any luck resolving this issue?
Anyone ever figure this out? I'm seeing the same error though coming from a different library. Wondering if there's a solution for both.