Search code examples
npm-installtoolpad

I'm getting this error while installing any node modules. eg: This error occur while installing MUI Toolpad


npx create-toolpad-app@latest my-toolpad-app using this command to install MUI Toolpad but getting this error

npm ERR! code ETIMEDOUT
npm ERR! syscall connect
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/create-toolpad-app failed, reason: connect ETIMEDOUT 2606:4700:9763:80e2:e442:5cb:6810:23:443
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

using node version 18.17.0

I have tried 2 different command suggested by MUI

npx create-toolpad-app dog-app

npx create-toolpad-app@latest my-toolpad-app


Solution

  • As per your previous responses, check if you've accidentally installed Node multiple times or with different paths. This might cause this problem.