Open Xunnamius opened 1 year ago
@developit any updates on this? PR is awaiting review: https://github.com/developit/unfetch/pull/164
Have same error. Import like this:
const fetch = require('unfetch');
Node v14.17.6
package.json:
"dependencies": {
"express": "^4.18.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"unfetch": "^5.0.0"
}
Error: Cannot find module '\node_modules\unfetch\index.js'
Hi. First, thank you for this package!
I seem to be getting a strange error in version 5.0.0 that I'm not getting when I downgrade to 4.2.0. Essentially:
Version 5.0.0:
Version 4.2.0: