Skip to content

Backend failing trying to process https://deno.land/x/sqlite@v3.9.1/build/sqlite.js #136

Description

@silvioterra

Describe the bug

Trying to start invio using the steps in the quick start leads to an infinite loop failing to parse/import sqlite.js

Output log (partial):

2026-08-13 00:22:24,125 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2026-08-13 00:22:24,127 INFO supervisord started with pid 1
2026-08-13 00:22:25,130 INFO spawned: 'backend' with pid 7
2026-08-13 00:22:25,133 INFO spawned: 'frontend' with pid 8
Task start deno run --allow-read --allow-write --allow-net --allow-env --allow-run src/app.ts
Download https://deno.land/x/sqlite@v3.9.1/build/sqlite.js
Download https://deno.land/x/zipjs@v2.7.34/index.js
Listening on http://0.0.0.0:8000
2026-08-13 00:22:26,231 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-08-13 00:22:26,231 INFO success: frontend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
error: Import 'https://deno.land/x/sqlite@v3.9.1/build/sqlite.js' failed.
    0: brotli error
    at https://deno.land/x/sqlite@v3.9.1/mod.ts:20:25
    2026-08-13 00:22:27,688 WARN exited: backend (exit status 1; not expected)
2026-08-13 00:22:28,694 INFO spawned: 'backend' with pid 71
Task start deno run --allow-read --allow-write --allow-net --allow-env --allow-run src/app.ts
Download https://deno.land/x/sqlite@v3.9.1/build/sqlite.js
Download https://deno.land/x/zipjs@v2.7.34/index.js
2026-08-13 00:22:29,779 INFO success: backend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-08-13 00:22:30,781 WARN received SIGTERM indicating exit request
2026-08-13 00:22:30,781 INFO waiting for backend, frontend to die
2026-08-13 00:22:30,867 INFO stopped: frontend (exit status 0)
error: Import 'https://deno.land/x/sqlite@v3.9.1/build/sqlite.js' failed.
    0: brotli error
    at https://deno.land/x/sqlite@v3.9.1/mod.ts:20:25

To Reproduce
Steps to reproduce the behavior:

  1. Install Docker Desktop for Windows
  2. Create a directory for the docker-compose.yaml and .env files as per Quick Start
  3. After running docker compose up -d, go to the docker desktop logs
  4. Notice endless spam
  5. (Invio is not accessible with a 500 error but I don't know if it's related)

Platform you host on
Windows Docker Desktop

Additional context
It worked for a minute, once, and then never again. I don't know what happened.

Every file in the output log is accessible if I go to it via browser. For instance, https://deno.land/x/sqlite@v3.9.1/build/sqlite.js exists.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions