Home > Software design >  Is there any way to install latest reactJs app on windos7
Is there any way to install latest reactJs app on windos7

Time:06-08

I am new to React. Although I am studying the react, I am not too clear about the concept react and react-native.

When trying to install react native app I am getting an error: Command: npx expo-cli init reactapp

ERROR: Node.js v13.14.0 is no longer supported.

expo-cli supports following Node.js versions:

  • =12.13.0 <15.0.0 (Maintenance LTS)

  • =16.0.0 <17.0.0 (Active LTS)

When tried to install the latest version I am not able to get that on windows7 can anyone let me know if there's any way to install the latest React version on my OS? Please don't suggest changing the OS. I cant do that.

CodePudding user response:

Your problem is not related to Windows7, it is related to your version of NodeJS (the back-end server-side environment that works with ReactJS). First you install Node, then you install React -- Node is required for React development.

Upgrade your version of NodeJS and all should work.

For your other question:
ReactJS is the programming library (kind of like a framework) for writing React apps. ReactNative (poorly named) is a specialized version of React that is specifically for writing mobile (phone) applications.

You can review this link to see how to install a specific version of NodeJS:

https://www.geeksforgeeks.org/how-to-install-the-previous-version-of-node-js-and-npm/

Here is information re the latest versions of Node that works with Windows7:

NodeJS for windows 7

CodePudding user response:

Check your node version by node -v and if it is older than 12.13.0, try upgrading it to the latest LTS version. hope this resolves your problem.

  • Related