Skip to content

ArgumentError (Invalid argument(s): A directory corresponding to fileSystemPath could not be found. #31

@benoitliard

Description

@benoitliard

I'm actually trying to start the httpd to serve and assets folder.

_initServer() async {
    final server = await Dhttpd.start(
        path: '/assets/webapp',
        port: 8089,
        address: InternetAddress.loopbackIPv4);
}

E/flutter (31706): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Invalid argument(s): A directory corresponding to fileSystemPath "/assets/webapps" could not be found

Any idea why?

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