Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
16.57k
stars
1.33k
forks
source link
[fix] TypeError: hexoid is not a function in Formidable.js when using Webpack + TypeScript #1786
Closed
archvlad closed 2 months ago
Describe the bug
Node.js version: 18.18.0
OS version: Windows 10 22H2
Description: When I pack my code written in TypeScript with Webpack I get
TypeError: hexoid is not a function in Formidable.js
Actual behavior
I get
TypeError: hexoid is not a function in Formidable.js
Expected behavior
It's supposed to run the same as when I don't use Webpack - without any error because use only send get request and that's it.
Code to reproduce
Repo where I have error - ts-webpack-superagent-bug
Checklist