nvm-sh / nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when using fetch/axios/node-fetch

wathika-eng opened this issue · comments

Operating system and version: Ubuntu 22.04

Node version: 20.11.1

NVM installation script curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

Sample script:

WhatsApp Image 2024-04-11 at 11 18 00 AM

Using Node from NVM output:

Screenshot from 2024-04-11 11-27-57

Using Node without NVM output:

Screenshot from 2024-04-11 11-36-13

This has nothing to do with nvm. It's probably related to ipv6 changes in node 20.