forked from mockturtl/dotenv
-
Notifications
You must be signed in to change notification settings - Fork 50
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: FileNotFoundError on fluter project with module #89
Comments
Did you include .env in pubspec.yaml under assets? |
I have the same trouble:
- my pubspec.yaml
|
I tried to solve it like this in windows. pubspec.yaml √
×
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm working on a flutter project with Module. This package doesn't work correctly here, but if I build a normal project, I don't get this error.
E/flutter (27891): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Instance of 'FileNotFoundError' E/flutter (27891): #0 DotEnv._getEntriesFromFile dotenv.dart:111 E/flutter (27891): <asynchronous suspension> E/flutter (27891): #1 DotEnv.load dotenv.dart:68 E/flutter (27891): <asynchronous suspension> E/flutter (27891): #2 main main.dart:9 E/flutter (27891): <asynchronous suspension> E/flutter (27891):
The text was updated successfully, but these errors were encountered: