-
I am getting the following error in my main Next.js project that has a number of other dependencies. I don't get the same error in a standalone project (a project with just the fiber module added). My novice exploration is it seems some of the other libraries (Firebase I think) includes some react-native libraries, which then makes threejs (?) think it should add even more react-native stuff. My project is a web server - I don't include any react-native code directly. Is there some way to turn off all react-native support/building somehow? (I also came across expo/expo#21469, but forcing a newer version of expo did not solve the problem either. I suspect I just don't want expo being loaded at all since I am just trying to do a web page that loads in a web server.) Any wisdom greatly appreciated. The error message:
Here is my package.json file
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I am officially an idiot. I copied the "native" code sample for my test page! I removed '/native' from the import and it start working. I had to discover that 10 seconds after asking. Oh well... |
Beta Was this translation helpful? Give feedback.
I am officially an idiot. I copied the "native" code sample for my test page! I removed '/native' from the import and it start working. I had to discover that 10 seconds after asking. Oh well...