expo/snack

Expo router project not importable to snack?

Twiggeh opened this issue ยท 10 comments

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

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

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

I have the same problem

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

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

YVTB commented

No solution yet :(

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 :-/

I have the same issue. Any solution ?

Jaza commented

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).