Skip to content

Problem on RPI #38

@dr-boss

Description

@dr-boss

Because of "no matching manifest for linux/arm64/v8 in the manifest list entries" I build docker locally.
docker build --platform=linux/arm64 -t test/onvif-server:arm64 .
Result is:
Successfully built 13cd985c6ea9
Successfully tagged test/onvif-server:arm64

After this I run container with command:
docker container run test/onvif-server:arm64
but I receive the errors:

 /app/src/config-tools.js:16
            exit(-1);
            ^

ReferenceError: exit is not defined
    at readConfig (/app/src/config-tools.js:16:13)
    at readAndCheckConfig (/app/src/config-tools.js:40:18)
    at Object.<anonymous> (/app/main.js:27:18)
    at Module._compile (node:internal/modules/cjs/loader:1706:14)
    at Object..js (node:internal/modules/cjs/loader:1839:10)
    at Module.load (node:internal/modules/cjs/loader:1441:32)
    at Function._load (node:internal/modules/cjs/loader:1263:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)

Node.js v22.19.0

what I do wrong ?

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