Comments (5)
Hi @vintvgx, thanks for the issue report. It seems that your project has multiple babel configurations, both of them invalid.
- The .babelrc config does not use
babel-preset-expo
, causing various transpilation issues. - The babel.config.js config does not use the recommended config format (see here)
After dropping .babelrc and updating the babel.config.js files, Babel does seem to work in your project.
Hope this helps!
from expo.
Anyone still having this issue running the following commands resolved my babel/runtime errors among other package errors after updating to expo 51:
npm cache verify
npm cache clean --force
rm -rf node_modules/
rm package-lock.json
npm install
npx expo start -c
from expo.
same issue here when trying to run web
from expo.
That worked! Thank you so much
from expo.
Anyone still having this issue running the following commands resolved my babel/runtime errors among other package errors after updating to expo 51: npm cache verify npm cache clean --force rm -rf node_modules/ rm package-lock.json npm install npx expo start -c
It works, thank you.
We are using yarn
, we faced similar babel issue:
node_modules/expo/AppEntry.js: [BABEL] xxxx/node_modules/expo/AppEntry.js: Cannot find module 'babel-plugin-polyfill-corejs2'
Here is the solution script for yarn
yarn cache clean
rm -rf node_modules
rm yarn.lock
yarn install
npx expo start --clear
from expo.
Related Issues (20)
- [expo-contacts] GetContactsAsync crash on ios HOT 4
- EXPO_USE_FAST_RESOLVER=1 ignores resolverMainFields config
- export without source maps produces significantly larger byte code HOT 3
- Expo SDK Appending Extra Headers on Network Requests to Amazon S3, Resulting in Failed Network Calls HOT 2
- onPress not called in ScrollView with contentOffset with New Architecture
- Updgrade to expo from 48 to the 51 cause an error with my image upload (Expo image picker, axios and Multer) HOT 1
- Navigating to a shared route doesn't stay within the current group HOT 1
- URL Params Not Changeable When Initial Called in Production HOT 1
- Route with Params resets to Index - Static Web & GitHub Pages HOT 5
- Packages with an "@" symbol cause errors in monorepo's.
- Expo Camera (v51): When recording, switching from front facing to back facing gives "Video recording Failed: Unknown error"
- Couldn't find Android manifest at /home/expo/workingdir/build/android/app/src/main/AndroidManifest.xml HOT 3
- [SDK 51][expo-router][web][Vercel] Expo web with server output failed on vercel deployment HOT 1
- expo-document-picker Not Recognizing Video MIME Type on iOS
- Animate change from one color to another in a linear gradient with Reanimated not working on Android (only iOS 🤔) HOT 1
- Android resource linking failed ERROR: /home/expo/workingdir/build/android/app/src/main/res/drawable/splashscreen.xml resource color/splashscreen_background (aka appname/splashscreen_background) not found. HOT 1
- Not able to run npx expo run:android HOT 2
- currentColor <TextInput /> prop not working on iOS HOT 2
- npx expo run:android results in javax.net.ssl.SSLException: Tag mismatch HOT 3
- [expo-image] Blurhash doesn't work on web in expo-image 1.12.9 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.