julekgwa / react-native-app-onboard

React Native App Onboard is a customizable, easy-to-use, and efficient library for creating compelling onboarding experiences for your React Native applications. It provides smooth, fluid transitions and animations, with a focus on simplicity and usability.
MIT License
3 stars 0 forks source link

Getting an error while trying it with new Expo version #3

Open devkatyall opened 2 weeks ago

devkatyall commented 2 weeks ago

Metro has encountered an error: While trying to resolve module tinycolor2 from file /Users/devkatyal/Desktop/Projects/App/chat-app/node_modules/react-native-app-onboard/src/components/OnboardingPages.tsx, the package /Users/devkatyal/Desktop/Projects/App/chat-app/node_modules/tinycolor2/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved (/Users/devkatyal/Desktop/Projects/App/chat-app/node_modules/tinycolor2/cjs/tinycolor.js. Indeed, none of these files exist:

RCTFatal __28-[RCTCxxBridge handleError:]_block_invoke _dispatch_call_block_and_release _dispatch_client_callout _dispatch_main_queue_drain _dispatch_main_queue_callback_4CF CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE __CFRunLoopRun CFRunLoopRunSpecific GSEventRunModal -[UIApplication _run] UIApplicationMain main start_sim 0x0 0x0

julekgwa commented 2 weeks ago

@devkatyall I tested with expo ~51.0.28 and it works fine. Please share your sample app.