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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexoid Error (?)

momo-ai opened this issue · comments

Support plan

  • Which support plan is this issue covered by? (Community, Sponsor, Enterprise): Community
  • Currently blocking your project/work? (yes/no): Yes
  • Affecting a production system? (yes/no): Yes

Context

  • Node.js version: 8.7.1 (pnpm)
  • Release Line of Formidable (Legacy, Current, Next):
  • Formidable exact version: 2.1.2
  • Environment (node, browser, native, OS): Node
  • Used with (popular names of modules): unsure

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!