Files
echoes-of-the-ash/build_log.txt
2026-02-05 15:00:49 +01:00

116 lines
4.6 KiB
Plaintext

--progress is a global compose flag, better use `docker compose --progress xx build ...
Image echoes_of_the_ashes-echoes_of_the_ashes_pwa Building
Image echoes_of_the_ashes-echoes_of_the_ashes_api Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.25kB done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile.pwa
#2 transferring dockerfile: 810B done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/nginx:alpine
#3 DONE 0.0s
#4 [internal] load metadata for docker.io/library/node:20-alpine
#4 DONE 0.4s
#5 [internal] load .dockerignore
#5 transferring context: 2B done
#5 DONE 0.0s
#6 [build 1/6] FROM docker.io/library/node:20-alpine@sha256:09e2b3d9726018aecf269bd35325f46bf75046a643a66d28360ec71132750ec8
#6 DONE 0.0s
#7 [stage-1 1/4] FROM docker.io/library/nginx:alpine
#7 DONE 0.0s
#8 [internal] load build context
#8 transferring context: 589.63MB 3.7s done
#8 DONE 3.8s
#9 [build 2/6] WORKDIR /app
#9 CACHED
#10 [build 3/6] COPY pwa/package*.json ./
#10 CACHED
#11 [build 4/6] RUN npm install
#11 CACHED
#12 [build 5/6] COPY pwa/ ./
#12 CACHED
#13 [build 6/6] RUN npm run build
#13 0.305
#13 0.305 > echoes-of-the-ashes-pwa@1.0.0 build
#13 0.305 > tsc && vite build
#13 0.305
#13 4.381 vite v5.4.21 building for production...
#13 4.436 transforming...
#13 5.170 ✓ 111 modules transformed.
#13 5.474 [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
#13 7.266
#13 7.266 PWA v0.17.5
#13 7.266 mode generateSW
#13 7.266 precache 3 entries (0.00 KiB)
#13 7.266 files generated
#13 7.266 dist/sw.js
#13 7.266 dist/workbox-4b126c97.js
#13 7.267 warnings
#13 7.267 One of the glob patterns doesn't match any files. Please remove or fix the following: {
#13 7.267 "globDirectory": "/app/dist",
#13 7.267 "globPattern": "**/*.{js,css,html,ico,svg,woff,woff2}",
#13 7.267 "globIgnores": [
#13 7.267 "**/node_modules/**/*",
#13 7.267 "sw.js",
#13 7.267 "workbox-*.js"
#13 7.267 ]
#13 7.267 }
#13 7.267
#13 7.273 x Build failed in 2.87s
#13 7.273 error during build:
#13 7.273 [vite-plugin-pwa:build] [plugin vite-plugin-pwa:build] src/components/common/GameProgressBar.tsx: There was an error during the build:
#13 7.273 Could not resolve "./InventoryModal.css" from "src/components/common/GameProgressBar.tsx"
#13 7.273 Additionally, handling the error in the 'buildEnd' hook caused the following error:
#13 7.273 Could not resolve "./InventoryModal.css" from "src/components/common/GameProgressBar.tsx"
#13 7.273 file: /app/src/components/common/GameProgressBar.tsx
#13 7.273 at getRollupError (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:401:41)
#13 7.273 at file:///app/node_modules/rollup/dist/es/shared/node-entry.js:23347:39
#13 7.273 at async catchUnfinishedHookActions (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:22805:16)
#13 7.273 at async rollupInternal (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:23330:5)
#13 7.273 at async build (file:///app/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:65709:14)
#13 7.273 at async CAC.<anonymous> (file:///app/node_modules/vite/dist/node/cli.js:829:5)
#13 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
------
> [build 6/6] RUN npm run build:
7.273 Could not resolve "./InventoryModal.css" from "src/components/common/GameProgressBar.tsx"
7.273 Additionally, handling the error in the 'buildEnd' hook caused the following error:
7.273 Could not resolve "./InventoryModal.css" from "src/components/common/GameProgressBar.tsx"
7.273 file: /app/src/components/common/GameProgressBar.tsx
7.273 at getRollupError (file:///app/node_modules/rollup/dist/es/shared/parseAst.js:401:41)
7.273 at file:///app/node_modules/rollup/dist/es/shared/node-entry.js:23347:39
7.273 at async catchUnfinishedHookActions (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:22805:16)
7.273 at async rollupInternal (file:///app/node_modules/rollup/dist/es/shared/node-entry.js:23330:5)
7.273 at async build (file:///app/node_modules/vite/dist/node/chunks/dep-BK3b2jBa.js:65709:14)
7.273 at async CAC.<anonymous> (file:///app/node_modules/vite/dist/node/cli.js:829:5)
------
Dockerfile.pwa:22
--------------------
20 |
21 | # Build the application
22 | >>> RUN npm run build
23 |
24 | # Production stage
--------------------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1