node-pty needs a compiler, but the build used the slim Node image
A dependency has to be compiled during install, and this build image has no Python or C toolchain for it. Name an image that does in a panelalpha.yaml, or use a release of this dependency that ships a prebuilt binary.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen1 times
WhereTanstack Start
StatusIn AnalysisOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The project depends on node-pty, which has no prebuilt Linux binary and is compiled during install. The engine does not yet count node-pty as needing a compiler, so it used the slim Node image, which has no Python or C toolchain.
What the log looks like
Deploy log
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Progress: resolved 1090, reused 0, downloaded 39, added 36Progress: resolved 1090, reused 0, downloaded 153, added 153Progress: resolved 1090, reused 0, downloaded 295, added 295Progress: resolved 1090, reused 0, downloaded 405, added 405Progress: resolved 1090, reused 0, downloaded 516, added 515Progress: resolved 1090, reused 0, downloaded 562, added 562 WARN Tarball download average speed 31 KiB/s (size 37 KiB) is below 50 KiB/s: https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz (GET)P…