redwoodjs-grove / issues

This is the repository for issues and discussions for https://grove.dev/
0 stars 0 forks source link

deploy: Error applicationFromToken Invalid user on deploy after claiming app #1

Open dthyresson opened 1 week ago

dthyresson commented 1 week ago

I deployed an app to:

grove-realtime main % grove deploy                                   
[✓] Pre-deploy checks                                                                                                                                    
[✓] Creating new application                                                                                                                             
[✓] Syncing code                                                                                                                                         
[✓] Deploying                                                                                                                                            

Deploy complete!                                                                                                                                         
- URL: https://readily-stunning-serval.grove.run                                                                                                         
- Claim: https://grove.dev/claim/clm-8ouiw1la5cbqol2mgbgde1hc    

I claimed and viewed.

image

I then made some changes to allow GraphQL intersections and playground, then tried to deploy again:

grove-realtime main % grove deploy                             
 \__, /_/   \____/|___/\___/  | hosting platform for                                                                                                     
/____/                        | RedwoodJS projects                                                                                                       

Deploying [readily stunning serval]                                                                                                                      
[✗] Pre-deploy checks                                                                                                                                    
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Error: input:3: applicationFromToken Invalid user                                                                                                     │
│                                                                                                                                                       │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
dthyresson commented 1 week ago

I figured it out.

I needed to grove login and then grove deploy.

Once docs up, can clarify,

Or, add to cli after claiming. Or claim page. Or maybe I missed the instructions.

Josh-Walker-GM commented 1 week ago

Yeah the next step here I think for now would be to catch the unauthenticated error at the CLI level. Use that to provide an opportunity to prompt the user to login with the CLI.