Did someone manage to work with SOAP API from workers?
I got error:
▲ [WARNING] The package "node:fs/promises" wasn't found on the file system but is built into node.
Your Worker may throw errors at runtime unless you enable the "nodejs_compat" compatibility flag.
Refer to https://developers.cloudflare.com/workers/runtime-apis/nodejs/ for more details. Imported
from:
- node_modules.pnpm\[email protected]\node_modules\formidable\src\Formidable.js
✘ [ERROR] No matching export in "node-modules-polyfills:crypto" for import "createHash"
node_modules/.pnpm/[email protected]/node_modules/formidable/src/VolatileFile.js:3:9:
3 │ import { createHash } from 'node:crypto';
node_modules/.pnpm/[email protected]/node_modules/formidable/src/VolatileFile.js:3:9:
3 │ import { createHash } from 'node:crypto';
Cloudflare Docs
Node.js compatibility · Cloudflare Workers docs
Implemented Node.js runtime APIs and enablement instructions for your Worker project.
5 Replies
Do you have a repo for your Worker?
GitHub
GitHub - Tihomir971/soap
Contribute to Tihomir971/soap development by creating an account on GitHub.
just started testing
I’m going to guess the SOAP package isn’t compatible with Workers. You may be able to get it to work by writing your own/finding one that is compatible
that's what I'm looking for. This is my first contact with soap. Not ready for my library