I am the beginning periods of making an application with Expo

I’m new to react-native and am in the beginning periods of making an application with Expo. I had a working application until introducing redux. Presently I am getting the accompanying mistake from the XDE:

Problem checking node_modules dependencies: Unexpected end of JSON input

and the following from the ios simulator:

Building JavaScript bundle: error
TransformError: ../app/main.js: Couldn't find preset "babel-preset-expo" relative to directory "../app/"

I trust my hub modules contain valid JSON. It ought to be noticed that I’m utilizing a more present version of react-native than expo.

Thanks,
SAILAJA
Teradata Developer

Hey, looks like someone had the same problem here: npm - React-native install issue in expo app - Stack Overflow

There are a couple things you can try – 1) update your npm version (with npm update -g npm) 2) use yarn instead (with yarn install, you may need to install yarn first)

1 Like

Hi @seveneightn9ne

Thanks for the quick help, will try your proposal definitely!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.