react-native-pager-view icon indicating copy to clipboard operation
react-native-pager-view copied to clipboard

Unable to resolve module @babel/runtime/helpers/interopRequireDefault

Open ignacioscl opened this issue 2 years ago • 1 comments

info Starting the app on "emulator-5554"... Starting: Intent { cmp=com.pagerviewexample/.MainActivity } BUNDLE ./index.js

error: Error: Unable to resolve module @babel/runtime/helpers/interopRequireDefault from C:\z\ReactNative\mis_ejemplos\react-native-pager-view\src\PagerView.tsx: @babel/runtime/helpers/interopRequireDefault could not be found within the project.

1 | import React from 'react'; 2 | import { Platform, Keyboard } from 'react-native'; 3 | import { I18nManager } from 'react-native'; 4 | import type {

I tried to start the example using all these versions of Node: 18.11.0 (Currently using 64-bit executable) 17.0.0 16.16.0 14.17.5 12.9.1

But the error is always the same. The solutions found on the internet for @babel/runtime/helpers/interopRequireDefault did not solve this problem.

I don't know how to successfully execute "npm start" on Android.

ignacioscl avatar Jul 09 '23 02:07 ignacioscl

cd react-native-pager-view

yarn install & yarn example android

huiqun922 avatar Sep 11 '23 11:09 huiqun922

Cannot reproduce, closing.

MrRefactor avatar Nov 29 '24 10:11 MrRefactor