Error loading shiny dashboard

I'm trying to generate a dashboard in for an assignment. I have created an account in Shiny, and passed the rsconnect token to link my computer to my shiny account.

When I try to run the server.r or ui.r app I get the following error message:

I've uninstalled and re-installed RStudio, but it's still happening. Every time i try to run the app the 'rtmpxxxxxx' folder and file change.

I'm using R Studio version 1.2.5042.

any assistance would be appreciated.