I m getting

I'm getting
service core:user:chainfuseapi-plugins-rss2json: Uncaught Error: Dynamic require of "node:stream" is not supported
at index.js:1:383
at index.js:18:4350
at index.js:1:500
at index.js:245:2751
✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
service core:user:chainfuseapi-plugins-rss2json: Uncaught Error: Dynamic require of "node:stream" is not supported
at index.js:1:383
at index.js:18:4350
at index.js:1:500
at index.js:245:2751
✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
But it says it's supported here: https://developers.cloudflare.com/workers/runtime-apis/nodejs/streams/ Running wrangler 3.0.1 and compatibility_flags = [ "nodejs_compat" ] in the wrangler.toml
3 Replies
MrBBot
MrBBotβ€’13mo ago
Hey! πŸ‘‹ I think this may be a similar issue to https://github.com/cloudflare/next-on-pages/pull/268. We're discussing applying this fix to all Wrangler builds, not just next-on-pages. I'm assuming this is a Webpack project?
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.
Victor
Victorβ€’13mo ago
No, just a regular import of a library in workers
Victor
Victorβ€’13mo ago
Using this package: https://www.npmjs.com/package/feedme-modern a patched version of feedme but rewritten to have the node: prefix
npm
feedme-modern
RSS/Atom/JSON feed parser. Latest version: 3.0.0, last published: a day ago. Start using feedme-modern in your project by running npm i feedme-modern. There are no other projects in the npm registry using feedme-modern.