Topic: React: 'npm' is not recognized as an internal or external command...
christopherbirwin pro asked 5 years ago
I'd like to purchase the pro version of React, but I want to make sure I can get the free version to install, first.
Expected behavior After downloading MBD-React-Free-npm, opening a command prompt for the directory in which package.json resides, and entering the command "npm install" the React dependencies install.
Actual behavior After downloading MBD-React-Free-npm, opening a command prompt for the directory in which package.json resides, and entering the command "npm install" I get the error, " 'npm' is not recognized as an internal or external command, operable program or batch file."
Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.23.1
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 5 years ago
Hello,
The basic question, did you install a node on your machine?
Stefischer commented 5 years ago
To add to Piotr, if it is installed make sure its set as a PATH variable which you can do following this: https://stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10
Piotr Glejzer staff commented 5 years ago
It's a good adice to do what they wrote there :)