snack icon indicating copy to clipboard operation
snack copied to clipboard

Unable to import any github repository in Snack

Open MahimaAsthana opened this issue 1 year ago • 15 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.

MahimaAsthana avatar Sep 29 '23 15:09 MahimaAsthana

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.

chapost1 avatar Oct 01 '23 15:10 chapost1

Same issue. I've tried with several repositories.

obasille avatar Oct 03 '23 17:10 obasille

Same

fisherboy111 avatar Oct 04 '23 00:10 fisherboy111

same issue

Things i've tried:

changing main branch master to main.

made the repo public.

Jaysalasi avatar Oct 10 '23 01:10 Jaysalasi

Same issue here

SeifESlimene avatar Nov 20 '23 01:11 SeifESlimene

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

diksha139 avatar Nov 21 '23 06:11 diksha139

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/

obasille avatar Nov 21 '23 07:11 obasille

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.

SeifESlimene avatar Nov 22 '23 09:11 SeifESlimene

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?

wortkotze avatar Dec 03 '23 18:12 wortkotze

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

MAXOUXAX avatar Jan 16 '24 09:01 MAXOUXAX

This is still an issue

Foadm avatar Mar 19 '24 18:03 Foadm

lol still an issue :/ eeek

devdarren7 avatar Apr 06 '24 10:04 devdarren7