Skip to content

All routes are missing after deno compile #3123

@hronro

Description

@hronro

Steps to reproduce:

deno compile -A --include static/ --include _fresh --output fresh_server main.ts
mv ./fresh_server /tmp/
cd /tmp/
./fresh_server

When you open the page in the browser, all routes will return a 404 error.

Please note you have to move the executable to somewhere else other than the project directory. If the executable still stays in the project directory, the routes won't be missed. Seems like the executable is still linking some JS/TS files outside the executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions