Jordan Deeds
Jordan Deeds

Reputation: 63

The version of node the terminal says im running is different from the version when running the command node -v

when creating a new react app (i.e. npx create-react-app ecommerce) its says im running Node 12.22.1 and Create React App requires Node 14 or higher. However, when i run node -v it says im running v16.17.0. does anyone know how to fix this?

Upvotes: 1

Views: 138

Answers (1)

Issam El-atif
Issam El-atif

Reputation: 2486

Try npx -p node@16 create-react-app ecommerce

Upvotes: 1

Related Questions