louislam / dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager
https://dockge.kuma.pet
MIT License
13.08k stars 372 forks source link

Error [ERR_MODULE_NOT_FOUND] on aarch64 #528

Open eddor opened 6 months ago

eddor commented 6 months ago

⚠️ Please verify that this bug has NOT been reported before.

🛡️ Security Policy

Description

I'm trying to run dockge on my storage appliance. I have Docker version 25.0.3, build 4debf41. When I start dockge I this on log:

dockge-1  | node:internal/process/esm_loader:97
dockge-1  |     internalBinding('errors').triggerUncaughtException(
dockge-1  |                               ^
dockge-1  |
dockge-1  | Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/app/extra/clean-tsx-tmp.js' imported from /app/
dockge-1  | Did you mean to import /app/extra/clean-tsx-tmp.js?
dockge-1  |     at new NodeError (node:internal/errors:405:5)
dockge-1  |     at finalizeResolution (node:internal/modules/esm/resolve:324:11)
dockge-1  |     at moduleResolve (node:internal/modules/esm/resolve:943:10)
dockge-1  |     at defaultResolve (node:internal/modules/esm/resolve:1129:11)
dockge-1  |     at nextResolve (node:internal/modules/esm/loader:163:28)
dockge-1  |     at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
dockge-1  |     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
dockge-1  |     at ESMLoader.import (node:internal/modules/esm/loader:524:22)
dockge-1  |     at node:internal/modules/run_main:58:28
dockge-1  |     at loadESM (node:internal/process/esm_loader:91:11) {
dockge-1  |   code: 'ERR_MODULE_NOT_FOUND'
dockge-1  | }
dockge-1  |
dockge-1  | Node.js v18.17.1

👟 Reproduction steps

Having docker installed, create compose.yaml and try to execute docker compose up

👀 Expected behavior

Start of service

😓 Actual Behavior

Error pasted before, regarding node not able to load some module

Dockge Version

1.4.2

💻 Operating System and Arch

Debian 12 similar on aarch64

🌐 Browser

Firefox/Chrome

🐋 Docker Version

Docker version 25.0.3, build 4debf41

🟩 NodeJS Version

No response

📝 Relevant log output

dockge-1  | node:internal/process/esm_loader:97
dockge-1  |     internalBinding('errors').triggerUncaughtException(
dockge-1  |                               ^
dockge-1  |
dockge-1  | Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/app/extra/clean-tsx-tmp.js' imported from /app/
dockge-1  | Did you mean to import /app/extra/clean-tsx-tmp.js?
dockge-1  |     at new NodeError (node:internal/errors:405:5)
dockge-1  |     at finalizeResolution (node:internal/modules/esm/resolve:324:11)
dockge-1  |     at moduleResolve (node:internal/modules/esm/resolve:943:10)
dockge-1  |     at defaultResolve (node:internal/modules/esm/resolve:1129:11)
dockge-1  |     at nextResolve (node:internal/modules/esm/loader:163:28)
dockge-1  |     at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
dockge-1  |     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
dockge-1  |     at ESMLoader.import (node:internal/modules/esm/loader:524:22)
dockge-1  |     at node:internal/modules/run_main:58:28
dockge-1  |     at loadESM (node:internal/process/esm_loader:91:11) {
dockge-1  |   code: 'ERR_MODULE_NOT_FOUND'
dockge-1  | }
dockge-1  |
dockge-1  | Node.js v18.17.1
dockge-1  | node:internal/process/esm_loader:97
dockge-1  |     internalBinding('errors').triggerUncaughtException(
dockge-1  |                               ^
dockge-1  |
dockge-1  | Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/app/extra/clean-tsx-tmp.js' imported from /app/
dockge-1  | Did you mean to import /app/extra/clean-tsx-tmp.js?
dockge-1  |     at new NodeError (node:internal/errors:405:5)
dockge-1  |     at finalizeResolution (node:internal/modules/esm/resolve:324:11)
dockge-1  |     at moduleResolve (node:internal/modules/esm/resolve:943:10)
dockge-1  |     at defaultResolve (node:internal/modules/esm/resolve:1129:11)
dockge-1  |     at nextResolve (node:internal/modules/esm/loader:163:28)
dockge-1  |     at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
dockge-1  |     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
dockge-1  |     at ESMLoader.import (node:internal/modules/esm/loader:524:22)
dockge-1  |     at node:internal/modules/run_main:58:28
dockge-1  |     at loadESM (node:internal/process/esm_loader:91:11) {
dockge-1  |   code: 'ERR_MODULE_NOT_FOUND'
dockge-1  | }
dockge-1  |
dockge-1  | Node.js v18.17.1
dockge-1  | node:internal/process/esm_loader:97
dockge-1  |     internalBinding('errors').triggerUncaughtException(
dockge-1  |                               ^
dockge-1  |
dockge-1  | Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/app/extra/clean-tsx-tmp.js' imported from /app/
dockge-1  | Did you mean to import /app/extra/clean-tsx-tmp.js?
dockge-1  |     at new NodeError (node:internal/errors:405:5)
dockge-1  |     at finalizeResolution (node:internal/modules/esm/resolve:324:11)
dockge-1  |     at moduleResolve (node:internal/modules/esm/resolve:943:10)
dockge-1  |     at defaultResolve (node:internal/modules/esm/resolve:1129:11)
dockge-1  |     at nextResolve (node:internal/modules/esm/loader:163:28)
dockge-1  |     at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
dockge-1  |     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
dockge-1  |     at ESMLoader.import (node:internal/modules/esm/loader:524:22)
dockge-1  |     at node:internal/modules/run_main:58:28
dockge-1  |     at loadESM (node:internal/process/esm_loader:91:11) {
dockge-1  |   code: 'ERR_MODULE_NOT_FOUND'
dockge-1  | }
dockge-1  |
dockge-1  | Node.js v18.17.1
akopfer commented 3 weeks ago

Any updates for this ?