Open quicksilverr opened 7 months ago
There is no override file, which is being called in the index.js If we check here, is there something I'm missing @maxkomarychev https://github.com/maxkomarychev/react-native-ultimate-config/blob/master/packages/react-native-ultimate-config/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?
After removing that import, it started working. Is the override related something to the web?
@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. Im updating from version 3.4.2, and the file is there, and looks like this
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.
@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 rnuc.rc
in the project root directory with the following content.
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 option from quickstart guide)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.