Deploying Shiny app to stops at: "Starting to perform package snapshot"

I am trying to deploy a Shiny app to from R Studio IDE. The app runs locally without a problem. The shinyapps account is a personal account and I've linked it to R Studio using a token.

The deployment starts normally, but simply stops at the point: "Starting to perform packrat snapshot". I get no error message, but R Studio just stops executing the deployment. The app is viewable on shinyapps. as undeployed.

Here is the session information.

Session information: 
R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default

[1] LC_COLLATE=Norwegian Bokmål_Norway.utf8 
[2] LC_CTYPE=Norwegian Bokmål_Norway.utf8   
[3] LC_MONETARY=Norwegian Bokmål_Norway.utf8
[4] LC_NUMERIC=C                            
[5] LC_TIME=Norwegian Bokmål_Norway.utf8    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.2.1   rsconnect_0.8.27
[1] "None"
GET /v1/applications/?filter=account_id:427053&filter=name:pico-outreach&count=100&offset=0 530ms
----- Bundle upload started at  2022-08-24 14:39:38  -----
[2022-08-24 14:39:38] Inferring App mode and parameters 
[2022-08-24 14:39:38] Bundling app dir 
[2022-08-24 14:39:38] Generate manifest.json 
[2022-08-24 14:39:38] Starting to perform packrat snapshot 

I've tried deploying the app from 2 different computers, one running Win 10 and one running Win 11, but stops at the same point. I've tried reconnecting to shinyapps with a new token, but still doesn't work. I've tried updating all packages and R to the newest version, but still no luck.

Any help is appreciated.