expo init not working because of nodejs version - node.js

I was watching https://www.youtube.com/watch?v=0-S5a0eXPoc
It's a React Native tutorial video.
I have installed expo-cli and tried to run
expo init projectName
But this is failing because of the below issue
Can anyone help me on this issue. What do I need to do here?
I am using Windows 10 laptop and my current node version is v13.12.0 and npm version is 6.14.4

Related

npm does not support Node.js v13.14.0

Hello hope you are well!
I try to install a project react in my pc so I started to install npx create-next-app hulu-2-yt.
but me display this error in my cmd.
npm does not support Node.js v13.14.0
You should probably upgrade to a newer version of node as we can't make any promises that npm will work with version.
I try to make upgrade for Last version of the nodejs but I have windows 7 and said me that can not support for windows 7.
Do you have any solution.
You should upgrade node manualy all you have to do uninstall the old node version and watch this video Installing Latest Node and React In windows 7 or Low End PC is helped me lot to resolve the problem i hope it working for you as well.

Expo Go there was problem loading the requset app

i have run a react native with Expo application .
i used yarn package manger run the commands
yarn install
then expo start
there is an warning upper
WARNING: expo-cli has not yet been tested against Node.js v17.8.0.
If you encounter any issues, please report them to https://github.com/expo/expo-cli/issues
expo-cli supports following Node.js versions:
=12.13.0 <13.0.0 (Maintenance LTS)
=14.0.0 <15.0.0 (Active LTS)
=15.0.0 <17.0.0 (Current Release)
and expo go show this message there was problem loading the requset app
node.js version v16.14.2
Expo version 5.3.0
u are using current release version which is not yet tested with expo
use LTS version
first check you node version
go to cli then enter node -v
if it is not the required version then install the required version using the command
npm install -g node#version
the recommended version is 16.14.2 (LTS)

React version issue. Not able to upgrade version

I am not able to install latest version of react. Actually I installed a particlar version after appending # , after that what ever I am doing it is not working. even I unistalled nodejs completely. still it is not working.
npm react --version
6.14.15
Then I ran this
npm install --save react#latest
After that version is still coming same.
npm react --version
6.14.15
After that I uninstalled react using below
npm uninstall -g create-react-app
I also did
npm uninstall react
and then checked the version. it is still coming same.
I followed onw blog and tried below. still it dint work.
npm install react-scripts#4.0.0 react#17.0.0 react-dom#17.0.0
and installed react again. still it is giving same version.
Could you please help me on the same.
Is there any to remove it completely from the system?
Let understand the diff between react and create react app.
React is a js library for creating user interfaces but and create react app is a cli tool that help us to create the files template for a react project and both are totally different npm packages.
The create react app doesn't depend on react so it doesn't install the required version of react.
If you want to upgrade your react library you have to install react
npm i -g react#latest

Error during npm start/expo start on expo reactive native Project

I am trying to run react native expo, it installed (via 'npm install -g expo-cli') globally and I created Project ('expo init react-project') and works fine. But i wend inside folder and run npm start / expo start , appears Errors as shown in picture. I also get Error on 'expo'.
I also deleted node_modules Folder and reinstall it (npm install) but didn't help.
Like you can see in Images, I have latest node,npn and Git versions. And its strange that , although I have installed expo globally, i get expo version on E:\ but not in subfolder (detail in screenshots).
Could anybody help me out?
Error on expo:
Error on npm start / expo start:
Latest Versions:

Ionic2 app moved from mac to pc causing build issues

I moved my ionic2 app from mac to windows pc with nodemodules and tried to run using npm run android, but getting an error as shown below
Here is my ionic info:
Your system information:
Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1-201610241941
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.31
OS: Windows 7 SP1
Node Version: v6.2.0
I ran following commands:
npm uninstall ionic
npm cache clean
npm install -g ionic#latest
but still ionic-app-scripts is not recognized in my cmd. What am I doing wrong here? It works great in my mac but moving to pc, I'm frustrated.
Any advice would be helpful. Thank you.
Here is my project repo, If I cloned the same app from my repo it's building fine but moving the source code not working.
Update #1
Now getting a different error.
I add this answer just in case so other SO users with the same issue could find the answer easier. Just like #nyluje recommends in this post, to fix
Cannot read property 'AssetUrl' of undefined
you should take away "^" sign in front of "dependencies" and "devDependencies" in package.json, and run npm install again.

Resources