Giter Site home page Giter Site logo

Comments (5)

byCedric avatar byCedric commented on June 11, 2024 1

Hi @vintvgx, thanks for the issue report. It seems that your project has multiple babel configurations, both of them invalid.

After dropping .babelrc and updating the babel.config.js files, Babel does seem to work in your project.

Hope this helps!

from expo.

JoPoTe avatar JoPoTe commented on June 11, 2024 1

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.

gstcarv avatar gstcarv commented on June 11, 2024
image

same issue here when trying to run web

from expo.

vintvgx avatar vintvgx commented on June 11, 2024

That worked! Thank you so much

from expo.

blue86321 avatar blue86321 commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.