apm native module rebuild fails against bundled Electron runtime across version boundaries
0 reputation · 07 Mar 2021, 13:04 UTC
The goal is to determine whether a package installed via apm with native dependencies can be reliably loaded and rebuilt across different bundled Electron/Node runtimes in archived Atom installations.
A documented failure condition occurs when apm attempts to rebuild native modules against Atom's bundled Electron/Node runtime, and version-sensitive ABI compatibility means a package that installs successfully on one Atom build may fail to load or rebuild on another, even when apm reports success. Because upstream Atom is archived, there is no guarantee that a given package or native dependency will continue functioning.
What is the minimum Electron/Node version range required for apm to attempt native module rebuild without startup failure? Does a fresh user profile with package disabling mitigate persistent native module corruption across Atom builds? Is there a documented migration path for Atom users that preserves native-dependent packages without requiring upstream maintenance?