Closed wdamaral closed 2 years ago
@wdamaral hello there.
For now the v3 version is only ESM compatible (and not CJS/CommonJS, e.g. with require
s), so you need to make your project accepting ES Modules. That's by adding "type": "module"
in your package.json.
Hey folks, I'm playing around with formidable. More like learning its details than anything, as I'm fairly new to Typescript.
I'm facing with an issue that might be a bug or some sort of incompatibility that I can't figure out the reason. Am I doing something wrong here?
The error states:
I only have formidable on this project with express. My package.json is as below.
tsconfig.json
Finally, the single file in this project.