phone.app.close()
Your app runs in a sandboxed frame, like on the phone, and browsers don't let sandboxed frames load files from file://, so its scripts and styles can't load. In this folder, run one of:
npx serve .
python3 -m http.server 8080
then open dev-shell.html from that address. In the phone repo: npm run app -- serve --app <folder>.