# Error updating CLI version to v7.6.0

**URL:** <https://community.hubspot.com/t/error-updating-cli-version-to-v7-6-0/138976>\
**Category:** CMS Development\
**Tags:** local-development\
**Created:** [September 4, 2025, 7:49am UTC](https://community.hubspot.com/t/error-updating-cli-version-to-v7-6-0/138976 "2025-09-04T07:49:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaltyKaren](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/saltykaren/32/34870_2.png) [@SaltyKaren](https://community.hubspot.com/u/SaltyKaren)\
**Post date:** [September 4, 2025, 7:49am UTC](https://community.hubspot.com/t/error-updating-cli-version-to-v7-6-0/138976/1 "2025-09-04T07:49:55Z")

</div>

Currently I am using v7.5.4 and was planning to migrate the private apps I am using to the projects platform from this article [Migrate an existing private app to the projects framework - HubSpot docs](https://developers.hubspot.com/docs/apps/developer-platform/build-apps/migrate-an-app/migrate-an-existing-private-app)

But when I update to the latest CLI version and ran any hs command I keep getting this error:

TypeError [ERR\_UNKNOWN\_FILE\_EXTENSION]: Unknown file extension “” for /Users/currentuser/.config/yarn/global/node\_modules/@hubspot/cli/bin/hs. Loading extensionless files is not supported inside of “type”:“module” package.json contexts. The package.json file /Users/currentuser/.config/yarn/global/node\_modules/@hubspot/cli/package.json caused this “type”:“module” context. Try changing /Users/currentuser/.config/yarn/global/node\_modules/@hubspot/cli/bin/hs to have a file extension. Note the “bin” field of package.json can point to a file with an extension, for example {“type”:“module”,“bin”:{“hs”:“./bin/hs.js”}}

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [September 4, 2025, 4:00pm UTC](https://community.hubspot.com/t/error-updating-cli-version-to-v7-6-0/138976/2 "2025-09-04T16:00:32Z")

</div>

Hi @SaltyKaren and Happy Thursday!  
Thanks for reaching out to the HubSpot Community!  
Here is the documentation “[Projects CLI reference](https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/project-commands#projects-cli-reference)” that might help you.  
Also, I’d love to put you in touch with our Top Experts: Hi @Anton, [@sylvain\_tirreau](https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366) and [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811) do you have suggestions to help @SaltyKaren, please?  
Have a wonderful day and thanks so much for your help!  
Bérangère

---

<div class="post-metadata">

**Author:** ![katiesutcliffe](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/katiesutcliffe/32/104913_2.png) [@katiesutcliffe](https://community.hubspot.com/u/katiesutcliffe)\
**Post date:** [September 5, 2025, 6:03am UTC](https://community.hubspot.com/t/error-updating-cli-version-to-v7-6-0/138976/3 "2025-09-05T06:03:54Z")

</div>

I’m getting the same error. Have tried uninstalling and reinstalling, and I’ve tried deleting the node\_modules folder and then reinstalling. No luck.

---

<div class="post-metadata">

**Author:** ![sylvain\_tirreau](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sylvain_tirreau/32/67408_2.png) [@sylvain\_tirreau](https://community.hubspot.com/u/sylvain_tirreau)\
**Post date:** [September 8, 2025, 5:56pm UTC](https://community.hubspot.com/t/error-updating-cli-version-to-v7-6-0/138976/4 "2025-09-08T17:56:19Z")

</div>

Hi,

I have no issues with version 7.6.1 (note, the latest version is 7.6.1, not 7.6.0, as indicated in your title).

A few tips, as I see you’re using modules and Node globally.

The best way to control your packages is to manage your Node versions with NVM, to have one node\_modules per project, not a single global one, and to use the local version of Hubspot CLI (in this case, you no longer type “hs \<command\>” but “npx hs \<command\>”). This way, you control the integrity of your packages and can juggle your Node versions. This way, it’s also possible to delete the node\_module from the project to cleanly reinstall dependencies.

But first, try to see if you have the latest version (7.6.1, not 7.6.0).

---

<div class="post-metadata">

**Author:** ![katiesutcliffe](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/katiesutcliffe/32/104913_2.png) [@katiesutcliffe](https://community.hubspot.com/u/katiesutcliffe)\
**Post date:** [September 9, 2025, 3:16am UTC](https://community.hubspot.com/t/error-updating-cli-version-to-v7-6-0/138976/5 "2025-09-09T03:16:34Z")

</div>

G’day, I was able to fix my issue of this today -- I needed to update node.js! Hopefully this helps you.
