Skip to content

Error while trying to load an asset: Failed to load asset at "assets/.env" (404) #1

@ejioforaustine

Description

@ejioforaustine

Complies into a blank screen.

consoles messages below.

Restarted application in 613ms.
Error while trying to load an asset: Failed to load asset at "assets/.env" (404)
Error: Instance of 'FileNotFoundError'
at Object.throw_ [as throw] (http://localhost:54838/dart_sdk.js:5080:11)
at _getEntriesFromFile (http://localhost:54838/packages/flutter_dotenv/src/dotenv.dart.lib.js:131:23)
at _getEntriesFromFile.throw ()
at http://localhost:54838/dart_sdk.js:40646:38
at _RootZone.runBinary (http://localhost:54838/dart_sdk.js:40515:59)
at _FutureListener.thenAwait.handleError (http://localhost:54838/dart_sdk.js:35449:33)
at handleError (http://localhost:54838/dart_sdk.js:36015:51)
at Function._propagateToListeners (http://localhost:54838/dart_sdk.js:36041:17)
at _Future.new.[_completeWithValue] (http://localhost:54838/dart_sdk.js:35872:23)
at async._AsyncCallbackEntry.new.callback (http://localhost:54838/dart_sdk.js:35906:35)
at Object._microtaskLoop (http://localhost:54838/dart_sdk.js:40778:13)
at _startMicrotaskLoop (http://localhost:54838/dart_sdk.js:40784:13)
at http://localhost:54838/dart_sdk.js:36261:9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions