[Bug] Linux 0.4.14 fails to start on Ubuntu 20.04.6 x86_64: node-pty cannot find prebuilds/linux-x64/pty.node
Description
Accomplish 0.4.14 does not start on Ubuntu 20.04.6 LTS x86_64.
I tested both the Debian package and the x86_64 AppImage, and both fail with the same startup error in the main process.
The error indicates that node-pty cannot load pty.node because it is trying to resolve ./prebuilds/linux-x64/pty.node, but that file does not appear to be available at runtime.
Steps to Reproduce
- Download
Accomplish-0.4.14-linux-amd64.deborAccomplish-0.4.14-linux-x86_64.AppImage - Install the
.debpackage or make the AppImage executable - Launch Accomplish
- See the startup error
Expected Behavior
Accomplish should launch normally on Ubuntu 20.04.6 x86_64.
Actual Behavior
Accomplish immediately crashes on startup with this error:
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Failed to load native module: pty.node, checked: build/Release, build/Debug, prebuilds/linux-x64: Error: Cannot find module './prebuilds/linux-x64//pty.node'
This happens with both the .deb package and the x86_64 AppImage.
Environment
- OS: Ubuntu 20.04.6 LTS
- Architecture: x86_64
- Accomplish Version: 0.4.14
Screenshots
No screenshot attached.
I can provide terminal output if needed.
Additional Context
I confirmed the following:
- The
.debpackage installs successfully dpkgreports the package as installed correctly- The desktop entry exists and points to:
Exec="/opt/Accomplish/@accomplishdesktop" %U ldd /opt/Accomplish/@accomplishdesktop | grep 'not found'returns nothing
When launching the installed binary directly:
"/opt/Accomplish/@accomplishdesktop"
I get this error:
Error: Failed to load native module: pty.node, checked: build/Release, build/Debug, prebuilds/linux-x64: Error: Cannot find module './prebuilds/linux-x64//pty.node'
I also tested the x86_64 AppImage:
./Accomplish-0.4.14-linux-x86_64.AppImage
and got the same error.
From the installed package contents, I can see node-pty files under app.asar.unpacked, including files such as:
node-pty/build/Release/pty.nodenode-pty/bin/linux-x64-133/node-pty.node
However, the application is trying to load:
./prebuilds/linux-x64/pty.node
So this looks like a packaging/path mismatch in the Linux build rather than a local dependency issue.
Source: accomplish-ai/coworker