Replies: 1 comment
-
@benjgil Any idea how this can be addressed when importing a 3rd party library ? I am trying to include a 3rd party library that works perfectly fine in react native web environment but gives I tried solving this by configuring the webpack to use babel-loader and include node_modules/someComponent but was unable to fix the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you get the following error when trying to build your react-native components, then it's almost certainly due to the component not using a react-native env.
Run
bit env
and check that the env listed for the component in question is in fact a react-native env.If it's not configured with the env you thought, run
bit env set <component-id> <env-full-id>
to set the required env.Screenshot of the error:
Beta Was this translation helpful? Give feedback.
All reactions