[GH-ISSUE #169] error Couldn't find a package.json file in "/static" #742

Closed
opened 2026-03-15 21:25:29 +03:00 by kerem · 0 comments
Owner

Originally created by @KanybekMomukeyev on GitHub (Oct 11, 2021).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/169

Building asynqmon
Step 1/16 : FROM alpine:3.13 AS frontend
3.13: Pulling from library/alpine
4e9f2cdf4387: Pull complete
Digest: sha256:2582893dec6f12fd499d3a709477f2c0c0c1dfcd28024c93f1f0626b9e3540c8
Status: Downloaded newer image for alpine:3.13
---> 12adea71a33b
Step 2/16 : WORKDIR /static
---> Running in ba029a731c1d
Removing intermediate container ba029a731c1d
---> 23be42dab112
Step 3/16 : RUN apk add --no-cache npm && npm i -g -s --unsafe-perm yarn
---> Running in 4e94d9f6516b
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/8) Installing ca-certificates (20191127-r5)
(2/8) Installing nghttp2-libs (1.42.0-r1)
(3/8) Installing brotli-libs (1.0.9-r3)
(4/8) Installing c-ares (1.17.2-r0)
(5/8) Installing libgcc (10.2.1_pre1-r3)
(6/8) Installing libstdc++ (10.2.1_pre1-r3)
(7/8) Installing nodejs (14.17.6-r0)
(8/8) Installing npm (14.17.6-r0)
Executing busybox-1.32.1-r6.trigger
Executing ca-certificates-20191127-r5.trigger
OK: 71 MiB in 22 packages
/usr/bin/yarn -> /usr/lib/node_modules/yarn/bin/yarn.js
/usr/bin/yarnpkg -> /usr/lib/node_modules/yarn/bin/yarn.js

  • yarn@1.22.15
    added 1 package in 2.147s
    Removing intermediate container 4e94d9f6516b
    ---> cef867ea8aea
    Step 4/16 : COPY ui .
    ---> b4258e2afff3
    Step 5/16 : RUN yarn install && yarn build
    ---> Running in babaf53cdef4
    yarn install v1.22.15
    info No lockfile found.
    [1/4] Resolving packages...
    [2/4] Fetching packages...
    [3/4] Linking dependencies...
    [4/4] Building fresh packages...
    success Saved lockfile.
    Done in 0.12s.
    yarn run v1.22.15
    error Couldn't find a package.json file in "/static"
Originally created by @KanybekMomukeyev on GitHub (Oct 11, 2021). Original GitHub issue: https://github.com/hibiken/asynqmon/issues/169 Building asynqmon Step 1/16 : FROM alpine:3.13 AS frontend 3.13: Pulling from library/alpine 4e9f2cdf4387: Pull complete Digest: sha256:2582893dec6f12fd499d3a709477f2c0c0c1dfcd28024c93f1f0626b9e3540c8 Status: Downloaded newer image for alpine:3.13 ---> 12adea71a33b Step 2/16 : WORKDIR /static ---> Running in ba029a731c1d Removing intermediate container ba029a731c1d ---> 23be42dab112 Step 3/16 : RUN apk add --no-cache npm && npm i -g -s --unsafe-perm yarn ---> Running in 4e94d9f6516b fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz (1/8) Installing ca-certificates (20191127-r5) (2/8) Installing nghttp2-libs (1.42.0-r1) (3/8) Installing brotli-libs (1.0.9-r3) (4/8) Installing c-ares (1.17.2-r0) (5/8) Installing libgcc (10.2.1_pre1-r3) (6/8) Installing libstdc++ (10.2.1_pre1-r3) (7/8) Installing nodejs (14.17.6-r0) (8/8) Installing npm (14.17.6-r0) Executing busybox-1.32.1-r6.trigger Executing ca-certificates-20191127-r5.trigger OK: 71 MiB in 22 packages /usr/bin/yarn -> /usr/lib/node_modules/yarn/bin/yarn.js /usr/bin/yarnpkg -> /usr/lib/node_modules/yarn/bin/yarn.js + yarn@1.22.15 added 1 package in 2.147s Removing intermediate container 4e94d9f6516b ---> cef867ea8aea Step 4/16 : COPY ui . ---> b4258e2afff3 Step 5/16 : RUN yarn install && yarn build ---> Running in babaf53cdef4 yarn install v1.22.15 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. Done in 0.12s. yarn run v1.22.15 error Couldn't find a package.json file in "/static"
kerem closed this issue 2026-03-15 21:25:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#742
No description provided.