Skip to content

Add charts#42

Merged
boehs merged 6 commits intomasterfrom
charts
Jan 8, 2025
Merged

Add charts#42
boehs merged 6 commits intomasterfrom
charts

Conversation

@boehs
Copy link
Owner

@boehs boehs commented Jan 8, 2025

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 8, 2025

Deploying boehs with  Cloudflare Pages  Cloudflare Pages

Latest commit: b9547b6
Status:⚡️  Build in progress...

View logs

@boehs
Copy link
Owner Author

boehs commented Jan 8, 2025

cf fails like

Executing user command: node --run build
--
21:44:25.762 | Error: Not implemented: HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)
21:44:25.762 | at module.exports (/opt/buildhome/repo/node_modules/.pnpm/jsdom@25.0.1/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17)
21:44:25.762 | at HTMLCanvasElementImpl.getContext (/opt/buildhome/repo/node_modules/.pnpm/jsdom@25.0.1/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js:42:5)
21:44:25.762 | at HTMLCanvasElement.getContext (/opt/buildhome/repo/node_modules/.pnpm/jsdom@25.0.1/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js:131:58)
21:44:25.762 | at t.getCanvasContext (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:24978)
21:44:25.763 | at e.getLineMetric (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25475)
21:44:25.763 | at file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25182
21:44:25.763 | at Array.forEach (<anonymous>)
21:44:25.763 | at e.calculateTextDimensions (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25152)
21:44:25.763 | at e.calculateTextDimensions (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25743)
21:44:25.763 | at Kt (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25806)
21:44:25.763 | at file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:76086
21:44:25.764 | at Array.forEach (<anonymous>)
21:44:25.764 | at vn (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:75856)
21:44:25.764 | at Object.draw (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:59912)
21:44:25.764 | at pe (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:42561)
21:44:25.764 | at Object.renderTo (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:567870)
21:44:25.764 | at file:///opt/buildhome/repo/conf/templating/pintora.js:40:17
21:44:25.764 | at new Promise (<anonymous>)
21:44:25.764 | at renderPintora (file:///opt/buildhome/repo/conf/templating/pintora.js:38:12)
21:44:25.764 | at injectPintora (file:///opt/buildhome/repo/conf/templating/pintora.js:87:36)
21:44:25.765 | at Object.<anonymous> (file:///opt/buildhome/repo/conf/templating/markdown.js:243:32)
21:44:25.765 | at Template._render (file:///opt/buildhome/repo/node_modules/.pnpm/@11ty+eleventy@3.0.1-alpha.1/node_modules/@11ty/eleventy/src/TemplateContent.js:586:25)
21:44:25.765 | at async file:///opt/buildhome/repo/node_modules/.pnpm/@11ty+eleventy@3.0.1-alpha.1/node_modules/@11ty/eleventy/src/TemplateMap.js:555:8
21:44:25.765 | at async file:///opt/buildhome/repo/node_modules/.pnpm/p-map@7.0.3/node_modules/p-map/index.js:121:20 undefined
21:44:25.765 | TypeError: Cannot set properties of null (setting 'font')
21:44:25.765 | at e.getLineMetric (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25507)
21:44:25.765 | at file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25182
21:44:25.765 | at Array.forEach (<anonymous>)
21:44:25.765 | at e.calculateTextDimensions (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25152)
21:44:25.765 | at e.calculateTextDimensions (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25743)
21:44:25.766 | at Kt (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:25806)
21:44:25.766 | at file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:76086
21:44:25.766 | at Array.forEach (<anonymous>)
21:44:25.766 | at vn (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:75856)
21:44:25.766 | at Object.draw (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:59912)
21:44:25.766 | at pe (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:42561)
21:44:25.766 | at Object.renderTo (file:///opt/buildhome/repo/node_modules/.pnpm/@pintora+standalone@0.7.5/node_modules/@pintora/standalone/lib/pintora-standalone.esm.mjs:1:567870)
21:44:25.766 | at file:///opt/buildhome/repo/conf/templating/pintora.js:40:17
21:44:25.766 | at new Promise (<anonymous>)
21:44:25.767 | at renderPintora (file:///opt/buildhome/repo/conf/templating/pintora.js:38:12)
21:44:25.767 | at injectPintora (file:///opt/buildhome/repo/conf/templating/pintora.js:87:36)
21:44:25.767 | at Object.<anonymous> (file:///opt/buildhome/repo/conf/templating/markdown.js:243:32)
21:44:25.767 | at Template._render (file:///opt/buildhome/repo/node_modules/.pnpm/@11ty+eleventy@3.0.1-alpha.1/node_modules/@11ty/eleventy/src/TemplateContent.js:586:25)
21:44:25.767 | at async file:///opt/buildhome/repo/node_modules/.pnpm/@11ty+eleventy@3.0.1-alpha.1/node_modules/@11ty/eleventy/src/TemplateMap.js:555:8
21:44:25.767 | at async file:///opt/buildhome/repo/node_modules/.pnpm/p-map@7.0.3/node_modules/p-map/index.js:121:20

@boehs
Copy link
Owner Author

boehs commented Jan 8, 2025

Likely has to do with the fact that there's probably no fonts on the cf machine skul

@boehs boehs merged commit 18bf742 into master Jan 8, 2025
1 of 2 checks passed
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.

1 participant