Before replacing multiple files, find the first Console error. It is more useful than guessing at fixes.
Step-by-step
Find the first error
Copy relevant errors without tokens or credentials. The first failure often points to the root cause.
Check entrypoint and startup
Verify package.json start points to the correct file, or that Python/Bun startup matches the selected runtime.
Inspect dependencies
Missing-module errors often indicate manifest or dependency installation issues based on panel support.
Match ESM and CommonJS
If “require is not defined” appears, check type: module and use compatible import/require patterns. Avoid unnecessary rewrites.
Make one change at a time
After one targeted change, restart through Power and recheck Console. Keep backups for rollback.
