expo / snack

Expo Snack lets you run Expo in the browser.
https://snack.expo.dev
MIT License
356 stars 104 forks source link

Unable to import any github repository in Snack #481

Open MahimaAsthana opened 11 months ago

MahimaAsthana commented 11 months ago

Summary

Unable to import any github repository, which previously was able to do easily in Snack. Error coming is An error occurred during import. This could be because the data provided was invalid, or because the repository referenced is not a properly formatted Expo project.

Failed to create snack: Error getting latest hash: Failed to get latest commit hash for https://github.com/procodingclass/PRO-C137-Project_Solution with error: spawn git ENOENT

What platform(s) does this occur on?

Web

SDK Version

No response

Reproducible demo or steps to reproduce from a blank project

Unable to import any github repository, which previously was able to do easily in Snack.

chapost1 commented 11 months ago

I encountered this error as well. From the message (spawn git ENOENT), it appears there might be an issue with the platform's backend attempting to execute Git commands. I hope there's a resolution soon.

obasille commented 11 months ago

Same issue. I've tried with several repositories.

fisherboy111 commented 11 months ago

Same

Jaysalasi commented 11 months ago

same issue

Things i've tried:

changing main branch master to main.

made the repo public.

SeifESlimene commented 9 months ago

Same issue here

diksha139 commented 9 months ago

I faced the same issue ,I hope to get a resolution soon.

obasille commented 9 months ago

While looking at "Can it be done in React Native" videos and source code, I stumbled on this link: https://snack.expo.dev/@git/github.com/wcandillon/can-it-be-done-in-react-native:season5

Turns out you can import a repo by tapping its URL after https://snack.expo.dev/@git/

SeifESlimene commented 9 months ago

While looking at "Can it be done in React Native" videos and source code, I stumbled on this link: https://snack.expo.dev/@git/github.com/wcandillon/can-it-be-done-in-react-native:season5

Turns out you can import a repo by tapping its URL after https://snack.expo.dev/@git/

I tried this but still not not imported.

wortkotze commented 9 months ago

I tried it also with a test repo https://snack.expo.dev/@git/github.com/wortkotze/appcreator-app-1:test https://snack.expo.dev/@git/github.com/wortkotze/appcreator-app-1 https://snack.expo.dev/@git/github.com/wortkotze/appcreator-app-1:main

nothing works any ideas?

MAXOUXAX commented 7 months ago

This is still an issue after multiple months, what is going on at Expo? 😐

Foadm commented 5 months ago

This is still an issue

devdarren7 commented 5 months ago

lol still an issue :/ eeek

joaoP-santos commented 3 months ago

Still getting the same issue D:

Edit: setting the repo as public, importing and setting back again to private worked for me. Don't think it's appropriate, though.

gmoz22 commented 3 months ago

Still an issue here with the Expo router boilerplate, repo set to public :/