CMS Development

ScottMoyse
Contributor

Deprecation warnings after executing npm install -g @hubspot/cli@latest

SOLVE

What's up with this?! Why isn't the CLI installing the latest versions of all its dependencies? The memory leak warning is concerning really.

ScottMoyse_0-1744781419020.png


`npm update -g` doesn't change anything

0 Upvotes
1 Accepted solution
Anton
Solution
Thought Leader | Partner
Thought Leader | Partner

Deprecation warnings after executing npm install -g @hubspot/cli@latest

SOLVE

Hey @ScottMoyse

personally I wouldn't recommend to upgrade to the currently newest version (7.4.0) as this introduces a new global configuration option (changelog) that might mess up your current setup.

 

If you're handling only one portal live portal and maybe a second/few dev portals, I'll be happy to learn of your experience migrating to it. I - with quite a lot of portals(client portals, internal portals, dev portals..), don't want to risk to mess up the current setup, so I won't upgrade the CLI now

 

If you still want to try to update:

Upgrade npm to 11.3.0 and try to update

 

Also, after some digging I've discovered this information:

 

hope this helps

 

 

best, 

Anton

Anton Bujanowski Signature

View solution in original post

0 Upvotes
1 Reply 1
Anton
Solution
Thought Leader | Partner
Thought Leader | Partner

Deprecation warnings after executing npm install -g @hubspot/cli@latest

SOLVE

Hey @ScottMoyse

personally I wouldn't recommend to upgrade to the currently newest version (7.4.0) as this introduces a new global configuration option (changelog) that might mess up your current setup.

 

If you're handling only one portal live portal and maybe a second/few dev portals, I'll be happy to learn of your experience migrating to it. I - with quite a lot of portals(client portals, internal portals, dev portals..), don't want to risk to mess up the current setup, so I won't upgrade the CLI now

 

If you still want to try to update:

Upgrade npm to 11.3.0 and try to update

 

Also, after some digging I've discovered this information:

 

hope this helps

 

 

best, 

Anton

Anton Bujanowski Signature
0 Upvotes