expo / snack

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

Expo router project not importable to snack? #459

Open Twiggeh opened 1 year ago

Twiggeh commented 1 year ago

Summary

When trying to import repo it errors with App.js missing in the project, but for expo router projects App.js is no longer the entry.

I tried looking for expo router specific things in snack, but didn't find anything

What platform(s) does this occur on?

Android, iOS, Web

SDK Version

49.0.8

Reproducible demo or steps to reproduce from a blank project

Importing this repo doesnt work https://github.com/Twiggeh/react-native-paper-bug-report

rinaldycodes commented 10 months ago

this is still not support for expo router in expo snack ?

teddybee commented 7 months ago

I have the same problem. I couldn't give minimal example for an expo router bug...

horaczech commented 6 months ago

I have the same problem

wiizzl commented 5 months ago

I also have this problem, I would have liked to use snack with expo router !

branaust commented 4 months ago

+1 Are there any plans to tackle this? @byCedric

YVTB commented 3 months ago

No solution yet :(

gmoz22 commented 3 months ago

Still waiting for an update on this, it would be great if we could import into Expo Snack our GitHub projects that use Expo Router :-/

GitYannHub commented 2 months ago

I have the same issue. Any solution ?

Jaza commented 4 weeks ago

Same here. SDK v51. I tried manually uploading my project files. App.js can't be deleted in the Snack UI, can only be renamed to App.tsx. I deleted all content from inside the example App.js in Snack, but then I get: "No default export of 'App.js' to render!". I'm building an app with all screens using Expo Router, would love to try it out in Snack, particularly because I haven't previewed it in iOS at all yet (my dev machine is Ubuntu, my phone is a Pixel).