)
And I manually copy the generated files to our cloud service, everything is working as expected.
But when a GitHub action generates the build, the application shows up as a white screen with this error in the console:
Uncaught Instance of 'minified:K4'
at Object.c (https://domain.web.core.windows.net/main.dart.js:3948:3)
at https://domain.web.core.windows.net/main.dart.js:71223:24
at apa.a (https://domain.web.core.windows.net/main.dart.js:5137:62)
at apa.$2 (https://domain.web.core.windows.net/main.dart.js:34715:14)
at aob.$1 (https://domain.web.core.windows.net/main.dart.js:34709:21)
at Ec.n_ (https://domain.web.core.windows.net/main.dart.js:35771:31)
at ajW.$0 (https://domain.web.core.windows.net/main.dart.js:35069:11)
at Object.uS (https://domain.web.core.windows.net/main.dart.js:5233:40)
at a7.nv (https://domain.web.core.windows.net/main.dart.js:34992:3)
at RO.cl (https://domain.web.core.windows.net/main.dart.js:34704:8)
I tried to narrow the scope down by uploading the build as an artifact and I manually copied it over to the server, got the same result (ubuntu-latest)
False alarm, sorry.
I simplified the example too much. I also use SpicyPizza/create-envfile@v1.3 in my action, and the problem was that the .env file was not filled with my configs.
Hi, When I run
flutter build web --release
on my Mac, () And I manually copy the generated files to our cloud service, everything is working as expected.
But when a GitHub action generates the build, the application shows up as a white screen with this error in the console:
I tried to narrow the scope down by uploading the build as an artifact and I manually copied it over to the server, got the same result (ubuntu-latest)
do you have any ideas?