All Articles

[NPX] Unable to install npx?

unsplash-film

Unable to install npx, you might need to install npx globally. This is because NPX should come with npm 5.2+ and Windows might not download npx. That’s why you’re seeing the below message.

Command 'npx' not found, did you mean:

  command 'upx' from snap upx (v0.2.3)
  command 'nex' from deb nvi
  command 'np' from deb mosquitto-auth-plugin
  command 'nyx' from deb nyx
  command 'gpx' from deb gpx
  command 'npm' from deb npm

See 'snap info <snapname>' for additional versions.

Solution

If you’re window user, enter npm i -g npx in command

If you’re Linux user, enter npm i -g npx in terminal

Then, install npx create-react-app [your folderName]


We are creating wealth every time we write a code