X_APP_PACKAGE_INVALID
Means
the app's package.json has no usable name/version — the manifest never fabricates app@0.0.0, because its version is the compatibility gate
Typical cause
a malformed or hand-trimmed package.json
Fix
bun pm pkg set name=<app> version=0.1.0