node-fetch-cjs
node-fetch-cjs copied to clipboard
Cannot find module 'formdata-polyfill/esm.min.js' & Cannot find module 'fetch-blob/from.js'
node_modules/node-fetch-commonjs/index.d.ts:4:24 - error TS2307: Cannot find module 'formdata-polyfill/esm.min.js' or its corresponding type declarations.
4 import {FormData} from 'formdata-polyfill/esm.min.js';
node_modules/node-fetch-commonjs/index.d.ts:12:8 - error TS2307: Cannot find module 'fetch-blob/from.js' or its corresponding type declarations.
12 } from 'fetch-blob/from.js';
maybe caused by these lines:
- [ ] https://github.com/alex-kinokon/node-fetch-cjs/blob/master/build.js#L53
- [ ] https://github.com/alex-kinokon/node-fetch-cjs/blob/master/build.js#L15