I'm used version: 1.3.3 and compiled sucefuly, but after update to: 1.4.0 I got this error on this file BuildDotenvConfig.rb line 4, xcode said we had syntax error on it.
I fix just did not update yet to 1.4.0 and using 1.3.3.
@jsimonassi Try to revert this changes
https://github.com/luggit/react-native-config/commit/0c42216725fd686b93900038e089fd71f9f75424
or hardcoded the prev hash in package.json
I hope it will be fixed soon.
@jsimonassi Have you checked if your .env file have spaces like MY_ENV='foo'? Can you share the content of your .env file here to help us investigate this problem?
Doesn't matter content inside .env. there is an error I side ruby file with
new if condition someone forget to add 'end'
On Fri, Nov 6, 2020, 23:00 luancurti notifications@github.com wrote:
@jsimonassi https://github.com/jsimonassi Have you checked if your .env
file have spaces like MY_ENV='foo'? Can you share the content of your .env
file here to help us investigate this problem?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/luggit/react-native-config/issues/519#issuecomment-723297332,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFEOV6TZZIHOC3TO7TP7VLSORPWLANCNFSM4TMAXMTA
.
Thanks for the explanation @dubinam I think I fixed this problem in 1.4.1 version @jsimonassi Can you test with the 1.4.1 to confirm that problem is fixed?
Not sure if it's the same issue, but for me iOS build fails after updating from 1.3.3 to 1.4.1 because of empty lines and comments in env files: https://github.com/luggit/react-native-config/pull/516#issuecomment-724621992
My build is also failing, not because of empty lines but because of lines that are commented out.
Most helpful comment
Not sure if it's the same issue, but for me iOS build fails after updating from
1.3.3to1.4.1because of empty lines and comments in env files: https://github.com/luggit/react-native-config/pull/516#issuecomment-724621992