If I run
expo init using
expo-cli 3.7.1 on Linux I get the following in
minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0:
So at least in my case it’s getting
minipass 2.9.0. Pretty sure it should do the same on Windows.
I have not tried Expo on Windows, but there are three different environments that you could do it in and perhaps one of the others will work better for you.
In theory, using Ubuntu on WSL will work exactly like a native Linux machine, so that’s what I would try.
The other two options are
CMD and PowerShell.
How/where were you running expo?
I’m also unable to upgrade
expo-cli higher than
3.4.1 using Windows 10.
It’s definitely related to the libxml.js library. In my case it wants an older version of python than installed on my machine.
This problem didn’t happen with with versions of
expo-cli =< 3.4.1.
And if I install a version of Python it likes it then is requiring the install of Visual Studio.
Can you try installing WSL and then installing node and expo-cli within that? There are some notes about how to do that here:
hi @wodin. Thanks for the help.
Same problem… but different.
OK, so it still wants to compile stuff. In order to set up a basic environment that will allow you to compile C code, do this:
apt install build-essential
If it still fails, please post the error as text like this:
The text is easier to search for if someone else has the same problem and can also be easier for me to copy’n’paste into Google if necessary
hi, that what i get all the time…and i use ver 3.4.1 coz it doesnt let me install the latest globlal.
i also use before node 12.x and it doesnt work also .
please help me .
> @ start E:\ReactNative\navigation_app
> expo start
│ There is a new version of expo-cli available (3.8.0). │
│ You are currently using expo-cli 3.4.1 │
│ Install expo-cli globally using the package manager of your choice; for example: `npm install -g expo-cli` to get the latest version │
Starting project at E:\ReactNative\navigation_app
Expo DevTools is running at http://localhost:19002
Opening DevTools in the browser... (press shift-d to disable)
ConfigUtils(...).configFilenameAsync is not a function
Set EXPO_DEBUG=true in your env to view the stack trace.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ start: `expo start`
npm ERR! Exit status 1
npm ERR! Failed at the @ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Roei\AppData\Roaming\npm-cache\_logs\2019-11-19T07_35_53_222Z-debug.log
Can you try installing WSL and Ubuntu as per my earlier post. Then, at the bash prompt, run:
apt install build-essential
Then download and install the Linux version of
expo-cli within Ubuntu.
expo start, etc.
what is WSL ?? and why expo suddenly doesn’t work with windows 10 ?
WSL is Windows Subsystem for Linux.
I have never used expo on Windows and I am not part of the Expo team so anything I say is not Expo’s official policy, although I try not to say anything that is incorrect or misleading.
I am not saying that expo no longer works on Windows 10. I am saying that maybe it will work better for you if you try running it on WSL.
do you think that expo isnt good as the react native cli ?
what do you suggest me to use ?
I think Expo is great as a CLI for React Native projects.
If I were running it on Windows I would probably run it on WSL, but I am not telling you that you must use WSL. I am just trying to suggest an alternative way of running expo because you are having problems with the way you are currently running it.
That worked. Thanks wodin. At least I know it works in linux.
I’d prefer to not have to move my local databases and Docker over to WSL just to get up and running again. I’m sticking with 3.4.1 for now.
This definitely needs to be looked at by someone at Expo for Windows though. Others are also having the issue.
My error is exactly like this how did you fix it?
Hi, if u wanna fix it so do what I did …
- Delete node & delete expo and restart ur machine.
npm install -g firstname.lastname@example.org
- Smile and give me like!!
Error goes like this anyone knows please help guys
OK, that “Exit status 7” does not look promising. I wonder what changed from the last time when you got 'Exit status 1".
I believe you’re getting the “MODULE_NOT_FOUND” error because the installation did not complete successfully, even though the warnings displayed in your screenshot should not be a problem.
Can you start again by uninstalling expo-cli and node and then getting hold of the node 12.x installer (if that’s not what you have).
Then install node 12.x. I have never installed node on Windows before, so I’m not sure what the installation process looks like. If you get any warnings, errors, etc. during the node installation make a note of them and tell us about them.
npm install -g email@example.com and paste the whole output as text here like this:
Then we can check if there are any other errors in there that need to be fixed.