【start app】の検索結果
なんじゃこりゃ
app-1 | > start
app-1 | > node ./built
app-1 |
app-1 | file:///ai/built/index.js:8
app-1 | import pkg from '../package.json' assert { type: 'json' };
app-1 | ^^^^^^
app-1 |
app-1 | SyntaxError: Unexpected identifier 'assert'
app-1 | at compileSourceTextModule (node:internal/modules/esm/utils16)
app-1 | at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators18)
app-1 | at #translate (node:internal/modules/esm/loader12)
app-1 | at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader27)
app-1 | at async ModuleJob._link (node:internal/modules/esm/module_job19)
app-1 |
app-1 | Node.js v22.12.0
Raspberry Pi 5B上でのdocker build
でなんかコケた…
結構つらそう
2.696 --- stderr
2.696
2.696
2.696 error occurred: Command "aarch64-linux-musl-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/app/target/aarch64-unknown-linux-musl/release/build/ring-1d64fd828acfea2e/out" "-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/app/target/aarch64-unknown-linux-musl/release/build/ring-1d64fd828acfea2e/out/fad98b632b8ce3cc-curve25519.o" "-c" "crypto/curve25519/curve25519.c" with args aarch64-linux-musl-gcc failed to start: Os { code: 8, kind: Uncategorized, message: "Exec format error" }
2.696
2.696
2.696 warning: build failed, waiting for other jobs to finish...
------
Dockerfile:25
--------------------
23 | COPY asset ./asset
24 | COPY examples ./examples
25 | >>> RUN --mount=type=cache,target=/var/cache/cargo --mount=type=cache,target=/app/target --mount=type=cache,target=/musl sh /app/crossfiles/build.sh
26 |
27 | FROM alpine:latest
--------------------
ERROR: failed to solve: process "/bin/sh -c sh /app/crossfiles/build.sh" did not complete successfully: exit code: 101