ZeroOne ZeroOne
中文
RSS
中文
RSS
Portrait of Zero
Zero
Practical notes on web development, AI, and infrastructure.
Support
Categories
AI 11
Astro 1
Backend 3
DevOps 50
Frontend 64
Marketing 3
Tools 2
Tags
AI Animation API Array Astro Async Automation btop Caddy CI/CD CLI Cloudflare Codex Containers CSS Debugging Deployment Development DevOps Docker Durable Objects Forms Frontend Git GitHub GitHub Actions GitLab hreflang HTML HTTP i18n Images JavaScript JSON Linux Machine Learning MCP Migration Mobile Web n8n Node.js OpenCode Pagefind pnpm Progressive Enhancement Promise Python Search SEO Serverless System Monitoring Troubleshooting TypeScript Ubuntu Unicode Vite Workflows 設定管理 開發工具

Page 15 / 17

ZeroOne English articles, page 15

Posts 113–120 of 134

Read
2026-08-09
Frontend
/
JavaScript
/
Frontend
/
Troubleshooting
/
CSS

scrollIntoView Is Not a Function: Fix NodeList, null, and Framework Refs

Fix “scrollIntoView is not a function” by checking whether your value is an Element, NodeList, null, or framework ref before calling the API.

758 words · 4 minutes
Read
2026-08-09
Frontend
/
Pagefind
/
Astro
/
Search
/
DevOps

Pagefind on GitHub Pages: Fix Missing Search Assets After Deploy

Fix Pagefind assets that work locally but 404 on GitHub Pages by building after Astro, deploying the artifact, and matching the bundle path.

964 words · 5 minutes
Read
2026-08-09
DevOps
/
pnpm
/
DevOps
/
CLI
/
Troubleshooting

pnpm root -g Prints a Warning Before the Path: Fix CI Parsers

Fix the pnpm root -g stdout warning that breaks CI parsers, then test pnpm 12 stderr behavior without blindly adopting a release candidate.

790 words · 4 minutes
Read
2026-08-08
Frontend
/
Astro
/
Frontend
/
Development
/
Troubleshooting

Astro preview --background: Run a Built Site Without Holding the Terminal

Use Astro 7.2.0 preview --background to start a built site, inspect status and logs, stop it cleanly, or disable background mode in automation.

637 words · 3 minutes
Read
2026-08-08
DevOps
/
Cloudflare
/
DevOps
/
TypeScript
/
JavaScript

Cloudflare Workers createTestHarness(): Test Built Worker Routes with Vitest

Use Cloudflare Workers’ createTestHarness() with Vitest to test a Wrangler-built Worker, reset state between cases, and close the server cleanly.

744 words · 4 minutes
Read
2026-08-08
AI
/
Codex
/
AI
/
CLI
/
Troubleshooting

What Codex --approve-for-me Does (and Why --sandbox Breaks It)

Codex --approve-for-me sends on-request approvals to auto review and already applies the workspace-write sandbox. Adding --sandbox to the same command fails.

671 words · 3 minutes
Read
2026-08-08
DevOps
/
DevOps
/
CLI
/
Troubleshooting
/
Migration

pnpm Git Dependencies on CI: Stop SSH URLs from Breaking Installs

Keep pnpm Git dependencies reproducible on CI: understand the pnpm 12 canonical HTTPS change, SSH rewrites for private repos, and frozen lockfiles.

750 words · 4 minutes
Read
2026-08-08
Frontend
/
Vite
/
Frontend
/
JavaScript
/
Migration

Vite 8 manualChunks: Migrate Rollup Splits to Rolldown codeSplitting

Migrate Vite 8 manualChunks to Rolldown codeSplitting, catch silently ignored chunk assignments, and verify lazy output before shipping.

869 words · 4 minutes
1 1314
15
1617
© 2026 Zero. All Rights Reserved. / 中文 / RSS / Sitemap
© 2026 Zero. All Rights Reserved. / 中文 / RSS / Sitemap