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
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:
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 amain
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:/Users/devkatyal/Desktop/Projects/App/chat-app/node_modules/tinycolor2/cjs/tinycolor.js/index(.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.mjs|.native.mjs|.mjs|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.cjs|.native.cjs|.cjs|.ios.scss|.native.scss|.scss|.ios.sass|.native.sass|.sass|.ios.css|.native.css|.css): /Users/devkatyal/Desktop/Projects/App/chat-app/node_modules/metro/src/node-haste/DependencyGraph.js (244:17)
242 | } 243 | if (error instanceof InvalidPackageError) {
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