Skip to content

hs project dev fails for projects with a colon in their name #1557

@noerbot

Description

@noerbot

I'm having trouble getting the hs project dev command to work for 2025.2. Every time I run it, I get the following output (even after a successful upload/deployment):

Your project contains undeployed local changes.

Full output:

noahjeffrey@MacBookPro hs-dev-demo % hs project upload
✓ Uploaded HubSpot Developer Platform 2025.2: Aptitude 8 Demo project files to noerbot-a-8-app-dev [dev account] (48151768)

View build #18 in HubSpot: https://app.hubspot.com/developer-projects/48151768/project/HubSpot%20Developer%20Platform%202025.2:%20Aptitude%208%20Demo/activity/build/18

✓ Built HubSpot Developer Platform 2025.2: Aptitude 8 Demo #18
  ✓ Building card-HubSpotDeveloperPlatform2025.2Aptitude8Demo  ... DONE

  ✓ Building app-HubSpotDeveloperPlatform2025.2Aptitude8Demo  ... DONE

--------------------------------------------------
Build #18 succeeded. Automatically deploying to noerbot-a-8-app-dev [dev account] (48151768)


View deploy of build #18 in HubSpot: https://app.hubspot.com/developer-projects/48151768/project/HubSpot%20Developer%20Platform%202025.2:%20Aptitude%208%20Demo/activity/deploy/18

✓ Deployed build #18 in HubSpot Developer Platform 2025.2: Aptitude 8 Demo
  ✓ Deploying card-HubSpotDeveloperPlatform2025.2Aptitude8Demo  ... DONE

  ✓ Deploying app-HubSpotDeveloperPlatform2025.2Aptitude8Demo  ... DONE

noahjeffrey@MacBookPro hs-dev-demo % hs project dev   
HubSpot projects local development
Learn more about HubSpot projects local dev: https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/project-commands#start-a-local-development-server | HubSpot account types: https://developers.hubspot.com/docs/getting-started/account-types

Using default account noerbot-a-8-app-dev [dev account] (48151768) for project upload

✔ [--testing-account] Choose the type of account to test on <! Test on your project account: noerbot-a-8-app-dev [dev account] (48151768) !>

✖ Your project contains undeployed local changes.

Run `hs project upload ` to upload these changes to HubSpot, then re-run `hs project dev ` to continue local development.

I can also see the app successfully built and deployed via the HS UI:

Image

I confirmed there are no local changes in my dev environment following the upload.

I used this backend locally to install the app on that same account: https://github.com/hubspot/oauth-quickstart-nodejs

And I can see that it was installed through the UI:
Image

Furthermore, I can see my most recent changes to the app card deployed:

Image

So something is wonky here. I tried debugging this myself, but I don't have access to the CLI v7.7.0 code (as mentioned in #1556) so I can't. :(

Oh, and here's my app-hsmeta.json:

{
  "uid": "app-HubSpotDeveloperPlatform2025.2Aptitude8Demo",
  "type": "app",
  "config": {
    "description": "An example for Aptitude 8 to demonstrate how to build a HubSpot marketplace app with developer projects.",
    "name": "HubSpot Developer Platform 2025.2: Aptitude 8 Demo-Application",
    "distribution": "marketplace",
    "auth": {
      "type": "oauth",
      "redirectUrls": [
        "http://localhost:3000/oauth-callback"
      ],
      "requiredScopes": [
        "crm.objects.contacts.read",
        "crm.objects.contacts.write",
        "forms",
        "oauth"
      ],
      "optionalScopes": [],
      "conditionallyRequiredScopes": []
    },
    "permittedUrls": {
      "fetch": [
        "https://api.hubapi.com/",
        "https://pokeapi.co/"
      ],
      "iframe": [],
      "img": []
    },
    "support": {
      "supportEmail": "[email protected]",
      "documentationUrl": "https://docs.google.com/document/d/16EVdGYieEMR7DPqeAZO4UUW819BciyOEVsGJzMbdipo/edit?usp=sharing",
      "supportUrl": "https://aptitude8.com/contact-us",
      "supportPhone": "+13129123503"
    }
  }
}

Based on my analysis of the v7.5.4 code, there may be a case sensitivity or similar issue with the comparison between local and deployed names. But without having access to the v7.7.0 code, there's not much I can do here. Hoping someone else can jump in to help unblock me here! 🙏

Metadata

Metadata

Assignees

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