=== dev.sh started 2026-04-11 22:15:47 UTC ===
Starting GnommoEditor...
  Frontend : http://localhost:5173
  Backend  : http://localhost:3001
  Log file : /Users/jenstandstad/Projects/gnommoeditor/dev.log
✓ Node v21
✓ Loaded .env
✓ PostgreSQL is running
✓ MinIO is running
✓ Database gnommoeditor already exists
Running migrations...

> gnommoeditor-backend@1.0.0 migrate:up
> node run-migrations.cjs up

Can't determine timestamp for 002
Can't determine timestamp for 001
Can't determine timestamp for 003
Can't determine timestamp for 002
Can't determine timestamp for 004
Can't determine timestamp for 003
Can't determine timestamp for 005
Can't determine timestamp for 004
Can't determine timestamp for 006
Can't determine timestamp for 005
Can't determine timestamp for 007
Can't determine timestamp for 006
Can't determine timestamp for 008
Can't determine timestamp for 007
Can't determine timestamp for 009
Can't determine timestamp for 008
Can't determine timestamp for 010
Can't determine timestamp for 009
Can't determine timestamp for 011
Can't determine timestamp for 010
Can't determine timestamp for 012
Can't determine timestamp for 011
Can't determine timestamp for 013
Can't determine timestamp for 012
Can't determine timestamp for 014
Can't determine timestamp for 013
Can't determine timestamp for 015
Can't determine timestamp for 014
Can't determine timestamp for 016
Can't determine timestamp for 015
Can't determine timestamp for 017
Can't determine timestamp for 016
Can't determine timestamp for 018
Can't determine timestamp for 017
Can't determine timestamp for 019
Can't determine timestamp for 018
Can't determine timestamp for 001
Can't determine timestamp for 002
Can't determine timestamp for 003
Can't determine timestamp for 004
Can't determine timestamp for 005
Can't determine timestamp for 006
Can't determine timestamp for 007
Can't determine timestamp for 008
Can't determine timestamp for 009
Can't determine timestamp for 010
Can't determine timestamp for 011
Can't determine timestamp for 012
Can't determine timestamp for 013
Can't determine timestamp for 014
Can't determine timestamp for 015
Can't determine timestamp for 016
Can't determine timestamp for 017
Can't determine timestamp for 018
Can't determine timestamp for 019
No migrations to run!
Migrations complete!
✓ Migrations up to date
Starting backend on port 3001...

> gnommoeditor-backend@1.0.0 dev
> node --watch src/index.js

(node:16183) ExperimentalWarning: Watch mode is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
node:internal/modules/esm/resolve:844
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonwebtoken' imported from /Users/jenstandstad/Projects/gnommoeditor/backend/src/middleware/jwtAuth.js
    at packageResolve (node:internal/modules/esm/resolve:844:9)
    at moduleResolve (node:internal/modules/esm/resolve:901:20)
    at defaultResolve (node:internal/modules/esm/resolve:1121:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
    at link (node:internal/modules/esm/module_job:84:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v21.5.0
Failed running 'src/index.js'
Starting frontend on port 5173...

> gnommoeditor@0.1.0 dev
> vite --port 5173


  VITE v5.4.21  ready in 150 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: http://192.168.10.57:5173/
  ➜  Network: http://192.168.64.1:5173/
Shutting down...
=== dev.sh stopped 2026-04-11 22:16:25 UTC ===
gu_common services left running.
