expo/snack

Unable to import any github repository in Snack

MahimaAsthana opened this issue ยท 14 comments

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.

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.

Same issue. I've tried with several repositories.

Same

same issue

Things i've tried:

changing main branch master to main.

made the repo public.

Same issue here

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

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/

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.

This is still an issue after multiple months, what is going on at Expo? ๐Ÿ˜

This is still an issue

lol still an issue :/ eeek

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