node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
MIT License
7k stars 680 forks source link

Hexoid Error (?) #960

Closed momo-ai closed 6 months ago

momo-ai commented 6 months ago

Support plan

Context

What are you trying to achieve or the steps to reproduce?

I don't believe our repo directly uses formidable, but it is now running into this anomalous bug

What was the result you got?

| Error: hexoid is not a function at node_modules/.pnpm/formidable@2.1.2/node_modules/formidable/src/Formidable.js (/Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/node_modules/.pnpm/formidable@2.1.2/node_modules/formidable/src/Formidable.js:15:18) at require2 (file:///Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/.sst/artifacts/c85104fbc0553600bd3138c6d760b45299d04c37c3/packages/functions/src/create.mjs:24:50) at node_modules/.pnpm/formidable@2.1.2/node_modules/formidable/src/index.js (/Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/node_modules/.pnpm/formidable@2.1.2/node_modules/formidable/src/index.js:5:20) at require2 (file:///Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/.sst/artifacts/c85104fbc0553600bd3138c6d760b45299d04c37c3/packages/functions/src/create.mjs:24:50) at binary (/Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/node_modules/.pnpm/superagent@8.0.9/node_modules/superagent/src/node/index.js:17:20) at require2 (file:///Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/.sst/artifacts/c85104fbc0553600bd3138c6d760b45299d04c37c3/packages/functions/src/create.mjs:24:50) at Object.superagent (/Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/node_modules/.pnpm/@easypost+api@7.0.0/node_modules/@easypost/api/dist/webpack:/external commonjs "superagent":1:1) at webpack_require (/Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/node_modules/.pnpm/@easypost+api@7.0.0/node_modules/@easypost/api/dist/webpack:/webpack/bootstrap:19:1) at Object../easypost.js (/Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/node_modules/.pnpm/@easypost+api@7.0.0/node_modules/@easypost/api/dist/webpack:/constants.js:24:29) at webpack_require__ (/Users/muhammadkhattak/Desktop/CG/CG_DEATHMARCH/collateral-manager/notes/node_modules/.pnpm/@easypost+api@7.0.0/node_modules/@easypost/api/dist/webpack:/webpack/bootstrap:19:1)

What result did you expect?

Would love any guidance!