Skip to content

All routes are missing after deno compile #3123

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions