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
@sodik82 Thanks for getting back to me, I have created another repo from the nextjs example with just react popup menu added, it fails on npm run dev with { Error: Cannot find module 'react-native'...
@sodik82 yes but running the production build is failing with the same error, I will have to try to replicate it. I was hoping finding a solution without transpiling the modules was possible.
When trying to build on NextJS + RNW there is an error.
Example with next-transpile-modules repo:
https://github.com/lolcookie/react-native-web-nextjs-typescript-firebase/tree/react-native-popup
failing command:
npm run build-app
next-transpile-modules
is used to prevent{ Error: Cannot find module 'react-native'...
according to this issue
Simplified example:
https://github.com/lolcookie/react-native-popup-menu-nextjs
failing command:
npm run dev
with
{ Error: Cannot find module 'react-native'...
EDIT:
I found a possible solution here:
martpie/next-transpile-modules#8 (comment)
The text was updated successfully, but these errors were encountered: