-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot resolve ./override #143
Comments
There is no override file, which is being called in the index.js |
After removing that import, it started working. Is the override related something to the web? |
Any fix for this or we will have to patch this? |
@quicksilverr After removing that import only, it starts working for web as well. @maxkomarychev can you please help here. |
Yep, there is no such file. In older versions, this file does indeed exist. const RN = require("react-native"); const IOS_DATA = {} const ANDROID_DATA = {} module.exports = { Im not sure what this file is supposed to do. |
@quicksilverr @tilucast the .override file is not generated after running the command "rnuc .env"? |
@vagnerlandio Youre right actually. I dont know what happened. The file now is being generated after running rnuc. |
Awesome. @vision1214 override file is not compatible with web. For this case, you can create a file module.exports = {
js_override: false
}; |
Describe the bug
Hey, after importing config from react-native-ultimate-config, I'm getting this error
Steps to Reproduce
Steps to reproduce the behavior.
Please consider creating small project that demonstrates the problem.
Having done clean setup helps pinpointing the problem.
Expected behavior
This snippet should work
Stacktraces, logs, screenshots
Post stacktraces, logs or screenshots. The more information is available
is better.
Environment
Integration option
rnuc
CLI to inject environment (default integration optionfrom quickstart guide)
option from cookbook:
scheme,
flavors)
react-native-ultimate-config
within monorepo managed with NX MonorepoEnv file
Example of env file that is causing problems
OS
Packages
react-native
: ❗0.72.3react-native-ultimate-config
: ❗6.0.1Run
react-native info
and post below:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: