-
Notifications
You must be signed in to change notification settings - Fork 478
[nextjs] react-native-elements not working with Next.js #1746
Comments
Hi @5ervant! Thanks for the report. In the code you provided I see that |
After using
I tried to use |
Hi @5ervant @byCedric, @EvanBacon - I am still having this issue despite following the documentation. Here's my
I also tried using
Any idea what I may be doing wrong? This seems like straightforward stuff. |
@daxfrost Having this same issue. Did you happen to find a fix? |
Description / Expected Behavior
Couldn't make
react-native-elements
work with Next.js by following these Usage on the Web · React Native Elements' instructions.Observed Behavior
It seems that
react-app-rewired
can only be used withcreate-react-app
. But not with Next.js since we're usingyarn next dev
to run our localhost, notreact-scripts start
that's needed to be replaced byreact-app-rewired start
.Here's an error message generated by both web browser and terminal:
Environment
Related Issues
Any standard setup to make
react-native-elements
work with Next.js?I already tried to have the above "next.config.js" code with the same result.
The text was updated successfully, but these errors were encountered: