Skip to content

Invalid ID when deploying #58

@zAlweNy26

Description

@zAlweNy26

When trying to deploy from CLI, I get this error:

DEBUG=1 nuxthub deploy --no-build
NuxtHub CLI                                                                        
⚙ Fetching https://admin.hub.nuxt.com/api/user                                  
⚙ Fetching https://admin.hub.nuxt.com/api/projects/land2lend-v662           
✔ Connected to danyalwe team.                                              
✔ Linked to land2lend project.                                                   
⠋ Deploying land2lend to production...⚙ Fetching https://admin.hub.nuxt.com/api/teams/danyalwe/projects/land2lend/deploy  
⠋ Deploying land2lend to production...[23:48:00] ⚙ Error when fetching https://admin.hub.nuxt.com/api/teams/danyalwe/projects/land2lend/deploy
⚙ [ { code: 8000022, message: 'Invalid ID: ' } ]                        
✖ Failed to deploy land2lend to production.

And when I try to access the logs:

DEBUG=1 nuxthub logs
NuxtHub CLI                                                    
⚙ Fetching https://admin.hub.nuxt.com/api/user                     
⚙ Fetching https://admin.hub.nuxt.com/api/projects/land2lend-v662       
✔ Linked to land2lend project available at https://land2lend.nuxt.dev
⠋ Connecting to production deployment...[00:01:16] ⚙ Fetching https://admin.hub.nuxt.com/api/teams/danyalwe/projects/land2lend/production/logs
⠙ Connecting to production deployment...[00:01:18] ⚙ Error when fetching https://admin.hub.nuxt.com/api/teams/danyalwe/projects/land2lend/production/logs
⚙ [ { code: 8000068, message: 'The requested Worker version could not be found, please check the ID being passed and try again.' } ]

[00:01:18]  ERROR  [GET] "https://admin.hub.nuxt.com/api/teams/danyalwe/projects/land2lend/production/logs": 400 Bad Request - The requested Worker version could not be found, please check the ID being passed and try again.

I don't understand what I'm doing wrong, this is my setup:

- Operating System: Linux
- Bun Version:     1.2.10
- Nuxt Version:     3.16.2
- CLI Version:      3.25.0
- Nitro Version:    2.11.9
- Package Manager:  [email protected]
- "@nuxthub/core": "0.8.25"
- "wrangler": "4.12.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions