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?
CodePudding user response:
Try npx -p node@16 create-react-app ecommerce