Terminated by signal SIGSEGV (Address boundary error)

Getting the following errror on GitHub - bevry/coda-packs: Monorepo of Coda packs

> npx coda upload packs/formatting/pack.ts
Building Pack bundle...
Existing directory ./_upload_build detected. Probably left over from previous build. Removing it...
(node:95643) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
fish: Job 1, 'npx coda upload packs/formattin…' terminated by signal SIGSEGV (Address boundary error)

> npx coda execute packs/formatting/pack.ts Html '<sup>hello</sup>'
fish: Job 1, 'npx coda execute packs/formatti…' terminated by signal SIGSEGV (Address boundary error)

> npx coda --version

Debugging steps that also failed

Did some digging, it’s either a bug with say a native package, or node.js itself

Will try another node version.

Ya, I’ve been seeing some segfaults with the CLI recently when using Node 19 in a GitHub Codespace, but not even consistently (fails for some codespaces but not others). Downgrading to Node 18 seems to resolve it.


Can confirm moving from Node 19 to Node 18 fixes it.