0

When I am trying to use npx create-react-app it throws an error.

PS C:\Users\a\Desktop\React> npx create-react-app frontend-task npm ERR! code ENOTFOUND npm ERR! syscall getaddrinfo npm ERR! errno ENOTFOUND npm ERR! network request to https://infyartifactory.ad.infosys.com/artifactory/api/npm/npm/create-react-app failed, reason: getaddrinfo ENOTFOUND infyartifactory.ad.infosys.com
npm ERR! network This is a problem related to network connectivity. npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\a\AppData\Local\npm-cache\_logs\2023-03-22T05_04_39_752Z-debug.logPS

I have no idea what is going on here. I tried npm cache clean --force but still shows the error.

node version - v16.13.0 npm version - 8.1.0

Thanks in advance.

Priyen Mehta
  • 1,096
  • 1
  • 5
  • 19
Veena
  • 1
  • 2

0 Answers0