Expo Web is not bundling everything

249 Views Asked by At

I am starting a React / React Native project that uses Expo. I am using effector / effector-react for state management. All other dependencies were working well. However, after adding effector / effector-react, the React Native apps continue to work well, however, the Web is no longer working due to bundling issues are given by these errors:

Web Bundling failed ...ms
Unable to resolve "effector" from "..."

Web Bundling failed ...ms
Unable to resolve "effector-react" from "..."

I'm starting the server application using npx expo start --web

1

There are 1 best solutions below

2
Rupesh Bhatta On

I would suggest you use 'Redux' for state management. The use of store, action, and reducer would make it relatively easy for you.

In case you don't want to use Redux, make sure you have installed the effector effector-react properly using the following command:

npm install --save effector effector-react