Duolith docs

Errors E0400 to E0499

E0482 Native dev server could not listen

Message could not listen on port port

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

duolith dev --target android|ios serves the bundle and its reload socket on one port, on this computer, or on every network with --host. Another program holds the port, or the system does not allow it.

How to fix it

Choose another port with --port, or stop the program that holds it.

In a terminal

duolith explain E0482