Unable to resolve "react" from "App.js"

Please provide the following:

  1. SDK Version: 37
  2. Platforms(Android/iOS/web/all): iOS/ Android

I recently updated Expo to 37 (my previous version was 33). Since the update, I’m unable to open the app and it appears that a lot of modules aren’t resolved (while they do exists in my project file). I’ve cleared my cache, deleted Node-modules folder and re-installed Expo. Nothing works. I still get the following error: "Unable to resolve “react” from “App.js”

Here’s my code in App.js:

import * as React from "react";
import { createStore } from "redux";
import { Provider } from "react-redux";
import AppNavigator from "./navigator/AppNavigator";
import { AsyncStorage } from "react-native";

// go away, nasty on-screen logs!
console.disableYellowBox = true;

// randomize recipe order cause it's cool
initialState.recipies = shuffleArray(initialState.recipies);
const store = createStore(reducer, initialState);

store.subscribe(() => {
  // console.log("store changed", store.getState().recipies);

const App = () => (
  <Provider store={store}>
    <AppNavigator />

export default App;

Hope someone can help me out with this! Thanks in advance

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