We have seen a few CMS developers reporting a problem upgrading their project to the latest platform version 2023.2, due to an outdated version of the HubSpot CLI in their source code package.json.
Please use the following remediation steps to resolve this issue and refer to our documentation page for additional information regarding platform version (Projects platform versioning (BETA)![]()
- Go to the local source directory for your CMS project
- Clear out your node_modules
- Remove the CLI as a dependency in your package.json
"@hubspot/cli" - Confirm you have installed and are using the CLI globally on the latest version
npm install -g @hubspot/cli@latest - Run
npm installin your project folder to re-install all the other node packages - Try re-uploading the project source again
hs project upload