You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to comment the addNohoistAliases() call in my craco.config.js file,
otherwise I got the following error:
ERROR in ./src/index.js 4:0-26
Module not found: Error: You attempted to import ...\packages\web\node_modules\react which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.
You can either move it inside src/, or add a symlink to it from project's node_modules/.
While following https://mmazzarolo.com/blog/2021-09-22-running-react-native-everywhere-web/,
I had to comment the
addNohoistAliases()
call in my craco.config.js file,otherwise I got the following error:
Configuration:
The text was updated successfully, but these errors were encountered: