expo/snack

Moti doesn't work on Expo Snack

nandorojo opened this issue · 4 comments

Screen Shot 2022-12-21 at 6 39 55 PM

Summary

Moti has been broken on Expo snack for many months. Would be great to get it fixed.

What platform(s) does this occur on?

Android, iOS, Web

SDK Version

All

Reproducible demo or steps to reproduce from a blank project

https://snack.expo.dev/@beatgig/cad6b1

Oh, wait, it got fixed when I installed "moti": "0.20.0" in package.json. For some reason, Snack by default installs "moti": "*" instead of 0.20.0. Is there a way to change this to use latest instead?

Bit of a false alarm. Was still broken when I refreshed.

ansh commented

Still broken for me! Cannot submit a Snack as a repro to the Moti repo because of this.

ansh commented

Also cannot import any sub directory, for example, import {Skeleton} from "moti/skeleton" does not work