You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[WEB] When using the Firebase hosting. Failed to read variables from .env file. #66
changed the title [-]When using the Firebase hosting. Failed to read variables from .env file.[/-][+][WEB] When using the Firebase hosting. Failed to read variables from .env file.[/+]on Aug 11, 2022
I am having this error when using this plugin, took me 4 hours to know it was this plugin as the error has a bad description.
I have my variables like SOME_ENV=abcdefg
and changing them to SOME_ENV='abcdefg'
doesn't work, the only solution that I have right now is to not use the plugin on web.
Activity
[-]When using the Firebase hosting. Failed to read variables from .env file.[/-][+][WEB] When using the Firebase hosting. Failed to read variables from .env file.[/+]iCodePoet commentedon Aug 11, 2022
The cause of the error was found when setting the environment variable with the
dotenvfile.This error occurs when �I create it in this way.
But if I write it like this, it works normally.
martinpelli commentedon May 19, 2023
I am having this error when using this plugin, took me 4 hours to know it was this plugin as the error has a bad description.

I have my variables like
SOME_ENV=abcdefgand changing them to
SOME_ENV='abcdefg'doesn't work, the only solution that I have right now is to not use the plugin on web.
zahidshaikh9013 commentedon Sep 10, 2024
Still no updates ????
zahidshaikh9013 commentedon Sep 10, 2024
This also does not help for me
Eng-Mohamed-Elsayed commentedon Dec 15, 2024
The same problem when Flutter web runs debug works fine but when uploading Firebase hosting or any server-side, it does not work env
any solution?
htoopyaelinn56 commentedon Jan 15, 2025
same problem here when deploying to firebase
htoopyaelinn56 commentedon Jan 15, 2025
#28 This helps. Removing . from env, from .env to env
zahidshaikh9013 commentedon Jan 15, 2025
No it's not working