infinitered / ignite

Infinite Red's battle-tested React Native project boilerplate, along with a CLI, component/model generators, and more!
MIT License
17.63k stars 1.39k forks source link

error: node_modules/react-native-gesture-handler/ #2827

Open azinedine opened 3 days ago

azinedine commented 3 days ago

Describe the bug

iOS Bundling failed 1088ms node_modules/expo-router/entry.js (1849 modules) error: node_modules/react-native-gesture-handler/src/handlers/gestures/manualGesture.ts: /Users/user/Desktop/CvApp/affreStore/node_modules/react-native-gesture-handler/src/handlers/gestures/manualGesture.ts: [Reanimated] Babel plugin exception: Error: [BABEL]: You appear to be using a native ECMAScript module plugin, which is only supported when running Babel asynchronously or when using the Node.js --experimental-require-module flag. (While processing: /Users/user/Desktop/CvApp/affreStore/node_modules/react-native-reanimated/node_modules/@babel/plugin-transform-shorthand-properties/lib/index.js)

Ignite version

v10.0.1

Additional info

System platform darwin
arch arm64
cpu 10 cores Apple M1 Pro
directory affreStore /Users/user/Desktop/CvApp/affreStore

JavaScript (and globally-installed packages) node 21.7.1 /usr/local/bin/node
npm 10.5.0 /usr/local/bin/npm
corepack 0.25.2
expo-cli 6.3.10
npm 10.5.0
yarn 1.22.19 /usr/local/bin/yarn
create-gatsby 3.11.0
create-vite 4.4.1
pnpm - not installed
bun 1.0.2 /Users/user/.bun/bin/bun
expo 51.0.38 managed
expo global cli 6.3.10 Deprecated: Found 'expo-cli' installed. Please remove it.

Ignite ignite-cli 10.0.1 /Users/user/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite
ignite src build /Users/user/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build

Android java 17.0.8 /usr/bin/java
android home - /Users/user/Library/Android/sdk

iOS xcode 16.0
cocoapods 1.14.3 /Users/user/.rvm/gems/ruby-2.7.5/bin/pod

Tools git git version 2.39.5 (Apple Git-154) /usr/bin/git

azinedine commented 2 days ago

✅ What bundle identifier? · com.erfoapp ✅ Where do you want to start your project? · /Users/user/Desktop/CvApp/yu/erfoApp ✅ How do you want to manage Native code? · CNG ✅ Do you want to initialize a git repository? (Y/n) · Yes ✅ Remove demo code? We recommend leaving it in if it's your first time using Ignite (y/N) · Yes ✅ Include MobX-State-Tree code? (recommended) (Y/n) · Yes ✅ Which package manager do you want to use? · yarn ✅ Do you want to install dependencies? (Y/n) · Yes ✅ [Experimental] Expo Router for navigation? (y/N) · Yes ✅ [Experimental] the New Architecture? (y/N) · Yes