undeployed app ...

This is the error code I keep getting:
Error in inferAppPrimaryDoc(appPrimaryDoc = appPrimaryDoc, appFiles = appFiles, :
Application mode static requires at least one document.
Calls: ... withStatus -> force -> bundleApp -> inferAppPrimaryDoc
Execution halted

My app is published using the normal mode (rsconnect::setAccountInfo..., ) but it keeps coming up with static errors. I have no idea what is going on.

The app shows up on shiny.io but I cannot get it deployed.

Any suggestions?