Claude Code in Action course: Bus error on Ubuntu 25.10 (glibc 2.42)

Resolved 💬 2 comments Opened Mar 28, 2026 by AusDavo Closed Apr 1, 2026

Summary

The "Claude Code in Action" course project (anthropic.skilljar.com/claude-code-in-action) crashes immediately on npm run dev with a Bus error on Ubuntu 25.10 due to an incompatibility between Next.js 15.3.3's prebuilt SWC native binary and glibc 2.42.

Environment

  • OS: Ubuntu 25.10 (Plucky Puffin)
  • glibc: 2.42
  • Node.js: v24.14.1
  • Next.js: 15.3.3
  • CPU: AMD Ryzen 5 5625U (x86_64)

Steps to reproduce

  1. Follow the course setup instructions
  2. Run npm run setup (completes successfully)
  3. Run npm run dev

Error

> NODE_OPTIONS='--require ./node-compat.cjs' next dev --turbopack

Bus error (core dumped)

The system crash reporter shows ld-linux-x86-64.so.2 (the dynamic linker) crashing — the @next/swc-linux-x64-gnu native binary is incompatible with glibc 2.42.

The error also occurs without the --turbopack flag.

Workaround

Install the WASM fallback for SWC and remove the native binaries:

npm install @next/swc-wasm-nodejs@15.3.3
rm -rf node_modules/@next/swc-linux-x64-gnu node_modules/@next/swc-linux-x64-musl
npm run dev

Suggestion

Consider adding a note to the course setup instructions for users on newer Linux distributions, or pinning a Next.js version with broader glibc compatibility.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗