New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx create-expo-app cousing error (Solved) #20881
Comments
Hey community, I have solved the problem. I ran the following terminal commands: 1 - sudo apt purge nodejs |
Glad to see you have solved the issue! 🎉 For the context, this error comes from npm and we cannot control it or change the wording, and it has its roots in the user local setup, so there is no actionable thing we can from our side. |
Any solution for windows? |
Any solution for macos ? |
It's not a fix, but I was able to create the directory, |
for me with Ubuntu 22.04.1, installing node v20.6.1 from snapcraft solved it |
@men3malgmatti, How did you install 20.6.1? when I update it it gives me 18 version everytime |
@aadil42 try this : |
Did you install expo-cli or just expo? |
I'm getting confuse. Here https://docs.expo.dev/tutorial/create-your-first-app/#prerequisites it says you should have expo installed. But all the other docs says expo-cli. |
@men3malgmatti, please help brother. It's driving me crazy |
Thanks bro. It worked with node v20 |
This worked for me:: npx create-expo-app@latest -e with-router my-app |
Thank you, it helped a lot! |
thanks, works for me |
Doesn't work for me |
@Khun111 install node v20. |
@aadil42 I already use that |
This worked for me too but I don't know what it does yet. I am an expo newbie and this experience sux - makes you want to give up before you even start. Please fix. Pretty pleeeease. |
Thanks bro @MayconParanhos!!!! |
It installed but I couldn't start the app. npm run android gives sdk errors. Npm run web starts at first but complains about a deprecated package when I try to connect expo go. Too bad |
Summary
When I run the comand npx create-expo-app, the following error occurs:
✖ Something went wrong in downloading and extracting the project files: Could not find npm package "expo-template-blank@latest"
Error cloning template: Error: Could not find npm package "expo-template-blank@latest"
I cannot realize why this error occurs since I've built expo app in the same environment.
Ubuntu 22.04
What platform(s) does this occur on?
No response
SDK Version
Latest
Environment
System:
OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
Shell: 5.1.16 - /bin/bash
Minimal reproducible example
npx create-expo-app my-app --template
The text was updated successfully, but these errors were encountered: