You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I cloned this repo and built the app, but I'm not able to run it on simulator/iphone device and I'm getting this error.
I tried adding babel with npm add @babel/runtime and reinstalling all the node packages but nothing worked.
node: v16.20.2
xcode: 15.2
`Unable to resolve module @babel/runtime/helpers/interopRequireDefault from /Users/octavian/Projects/react-native/react-native-healthkit/src/index.ios.tsx: @babel/runtime/helpers/interopRequireDefault could not be found within the project.
1 | import { Platform } from 'react-native'
2 |
3 | import useHealthkitAuthorization from './hooks/useHealthkitAuthorization'
4 | import useIsHealthDataAvailable from './hooks/useIsHealthDataAvailable'
Are you running the app in /example or /example-expo? Currently I'd recommend using /example-expo since it's more up-to-date and the one I tested on for the latest release.
Hi, I cloned this repo and built the app, but I'm not able to run it on simulator/iphone device and I'm getting this error.
I tried adding babel with
npm add @babel/runtime
and reinstalling all the node packages but nothing worked.node: v16.20.2
xcode: 15.2
`Unable to resolve module @babel/runtime/helpers/interopRequireDefault from /Users/octavian/Projects/react-native/react-native-healthkit/src/index.ios.tsx: @babel/runtime/helpers/interopRequireDefault could not be found within the project.
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
`
The text was updated successfully, but these errors were encountered: