Skip to content

error when build #4

@Andision

Description

@Andision
=> ERROR [client builder 5/5] RUN npm run build                           4.1s
------
 > [client builder 5/5] RUN npm run build:
0.456
0.456 > client@0.0.1 build
0.456 > astro build
0.456
1.574 09:42:06 PM [content] No content directory found. Skipping type generation.
1.653 09:42:06 PM [build] output target: static
1.653 09:42:06 PM [build] Collecting build info...
1.653 09:42:06 PM [build] Completed in 137ms.
1.654 09:42:06 PM [build] Building static entrypoints...
2.342 Browserslist: caniuse-lite is outdated. Please run:
2.342   npx update-browserslist-db@latest
2.342   Why you should do it regularly: https://github.com/browserslist/update-db#readme
2.983 09:42:07 PM [build] Completed in 1.33s.
2.983
2.983  building client
3.504 Completed in 522ms.
3.504
3.505
3.505  generating static routes
3.607 ▶ src/pages/index.astro
3.620   └─ /index.html (+13ms)
3.620 ▶ src/pages/gameboard-tradingposts.astro
4.028  error   [astro-icon] Unable to load icon "ic:baseline-visibility-off"!
4.028   TypeError: fetch failed
4.028   File:
4.028     src/pages/gameboard-tradingposts.astro
4.028   Stacktrace:
4.028 Error: [astro-icon] Unable to load icon "ic:baseline-visibility-off"!
4.028 TypeError: fetch failed
4.028     at file:///client/dist/chunks/pages/all.222881ac.mjs:270:13
4.028     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
4.028     at async bufferHeadContent (file:///client/node_modules/astro/dist/runtime/server/render/page.js:46:25)
4.028     at async renderPage (file:///client/node_modules/astro/dist/runtime/server/render/page.js:94:5)
4.028     at async renderPage (file:///client/node_modules/astro/dist/core/render/core.js:81:20)
4.028     at async generatePath (file:///client/node_modules/astro/dist/core/build/generate.js:288:18)
4.028     at async generatePage (file:///client/node_modules/astro/dist/core/build/generate.js:112:5)
4.028     at async generatePages (file:///client/node_modules/astro/dist/core/build/generate.js:71:7)
4.028     at async staticBuild (file:///client/node_modules/astro/dist/core/build/static-build.js:68:7)
4.028     at async AstroBuilder.build (file:///client/node_modules/astro/dist/core/build/index.js:91:5)
4.028
4.045 npm notice
4.045 npm notice New major version of npm available! 9.5.0 -> 11.4.2
4.045 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v11.4.2>
4.045 npm notice Run `npm install -g npm@11.4.2` to update!
4.046 npm notice
------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions