Skip to content

Conversation

@feydan
Copy link
Member

@feydan feydan commented Jul 3, 2025

also updates base image to node 24 from 16.

#61

@feydan feydan requested a review from natebass July 3, 2025 03:54
@natebass
Copy link
Member

natebass commented Aug 7, 2025

I can't start the docker container. Whether I build a fresh base image of Node 24, 16, or 15; it still throws an Eleventy fatal error.

PS>docker compose up --build
time="2025-08-07T15:05:26-07:00" level=warning msg="C:\Users\nateb\Source\Past\code4sac-openbudgetsac.org\docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] Building 18.9s (13/13) FINISHED
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 432B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 193B 0.0s
=> [internal] load metadata for docker.io/library/node:24 1.2s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/5] FROM docker.io/library/node:24@sha256:dd5c5e4d0a67471a683116483409d1e46605a79521b000c668cff29df06efd51 0.0s
=> [internal] load build context 2.6s
=> => transferring context: 2.87MB 2.5s
=> CACHED [2/5] WORKDIR /home/node/app 0.0s
=> CACHED [3/5] COPY _src/package*.json ./ 0.0s
=> CACHED [4/5] RUN npm install --force 0.0s
=> [5/5] COPY _src . 10.6s
=> exporting to image 3.6s
=> => exporting layers 3.6s
=> => writing image sha256:20103d738513e8fc86230fcdefcc347178d3fa7c4d174db07932802d119a33ef 0.0s
=> => naming to docker.io/library/code4sac-openbudgetsacorg-site 0.0s
=> resolving provenance for metadata file 0.0s
[+] Running 3/3
✔ site Built 0.0s
✔ Network code4sac-openbudgetsacorg_default Created 0.1s
✔ Container code4sac-openbudgetsacorg-site-1 Created 0.2s
Attaching to site-1
site-1 | npm warn using --force Recommended protections disabled.

site-1 | up to date, audited 1166 packages in 17s

34 packages are looking for funding
run npm fund for details

site-1 | 100 vulnerabilities (5 low, 50 moderate, 37 high, 8 critical)
site-1 |
site-1 | To address issues that do not require attention, run:
site-1 | npm audit fix
site-1 |
site-1 | To address all issues possible (including breaking changes), run:
site-1 | npm audit fix --force
site-1 |
site-1 | Some issues need review, and may require choosing
site-1 | a different dependency.
site-1 |
site-1 | Run npm audit for details.
npm notice
site-1 | npm notice New patch version of npm available! 11.5.1 -> 11.5.2
site-1 | npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
site-1 | npm notice To update run: npm install -g npm@11.5.2
site-1 | npm notice

site-1 | > serve
site-1 | > npx @11ty/eleventy --serve --port=8011
site-1 |
Eleventy fatal error: (more in DEBUG output)
site-1 | > MapCache is not a constructor
site-1 |
site-1 | TypeError was thrown:
site-1 | TypeError: MapCache is not a constructor
site-1 | at Object. (/home/node/app/node_modules/parse-filepath/index.js:7:13)
site-1 | at Module._compile (node:internal/modules/cjs/loader:1738:14)
site-1 | at Object..js (node:internal/modules/cjs/loader:1871:10)
site-1 | at Module.load (node:internal/modules/cjs/loader:1470:32)
site-1 | at Module._load (node:internal/modules/cjs/loader:1290:12)
site-1 | at TracingChannel.traceSync (node:diagnostics_channel:322:14)
site-1 | at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)
site-1 | at Module.require (node:internal/modules/cjs/loader:1493:12)
site-1 | at require (node:internal/modules/helpers:152:16)
site-1 | at Object. (/home/node/app/node_modules/@11ty/eleventy/src/TemplatePath.js:3:19)

site-1 exited with code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants