npm i node-fetch, npm ERR! code ETIMEDOUT #1766
-
Hi guys, npm i node-fetch OS: Windows 11 What I did to solve, but still have this issue
Can some one advice how to fix? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After changing Node.js version: Node.js: v20.5.0 "node-fetch": "^3.3.2", const fetch = require("node-fetch"); Error [ERR_REQUIRE_ESM]: require() of ES Module But this code worked with previous versions. |
Beta Was this translation helpful? Give feedback.
-
After installing npm i node-fetch@2.6.7 This work for me. May be this can be useful for someone. |
Beta Was this translation helpful? Give feedback.
After installing
npm i node-fetch@2.6.7
Node.js: v20.5.0
NPM: 9.8.0
This work for me. May be this can be useful for someone.