# Deprecation issues while installing globally hubspot/cli

**URL:** <https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [December 15, 2022, 4:33pm UTC](https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314 "2022-12-15T16:33:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![romerocam](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/romerocam/32/99172_2.png) [@romerocam](https://community.hubspot.com/u/romerocam)\
**Post date:** [December 15, 2022, 4:33pm UTC](https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314/1 "2022-12-15T16:33:50Z")

</div>

Hi! im trying to start my first hubspot project with you free courses for developer and i keep having this issues and im being unable to install it! How can i fix this? Im on a Mac!  
npm WARN deprecated source-map-url@0.4.1: See [https://github.com/lydell/source-map-url#deprecated](https://github.com/lydell/source-map-url#deprecated)  
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see [https://github.com/request/request/issues/3142](https://github.com/request/request/issues/3142)  
npm WARN deprecated urix@0.1.0: Please see [GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly. · GitHub](https://github.com/lydell/urix#deprecated)  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported  
npm WARN deprecated resolve-url@0.2.1: [GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser. · GitHub](https://github.com/lydell/resolve-url#deprecated)  
npm WARN deprecated source-map-resolve@0.5.3: See [GitHub - lydell/source-map-resolve: [DEPRECATED] Resolve the source map and/or sources for a generated file. · GitHub](https://github.com/lydell/source-map-resolve#deprecated)  
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See [There’s Math.random(), and then there’s Math.random() · V8](https://v8.dev/blog/math-random) for details.  
npm WARN deprecated request@2.88.2: request has been deprecated, see [Request’s Past, Present and Future · Issue #3142 · request/request · GitHub](https://github.com/request/request/issues/3142)

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 19, 2022, 8:28pm UTC](https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314/2 "2022-12-19T20:28:37Z")

</div>

Hi, @romerocam 👋 Thanks for reaching out. These problems are challenging as they often related to something local. Hey, @Teun @BarryGrennan @Sjardo, do you have any tips on getting set up and started for our new-to-HubSpot friend, @romerocam?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![romerocam](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/romerocam/32/99172_2.png) [@romerocam](https://community.hubspot.com/u/romerocam)\
**Post date:** [December 21, 2022, 4:58pm UTC](https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314/3 "2022-12-21T16:58:02Z")

</div>

Hi Jaycee! Thanks for your answer!!

---

<div class="post-metadata">

**Author:** ![Sjardo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sjardo/32/52178_2.png) [@Sjardo](https://community.hubspot.com/u/Sjardo)\
**Post date:** [December 20, 2022, 8:48am UTC](https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314/4 "2022-12-20T08:48:18Z")

</div>

Hi @romerocam ,

As there are alot of NPM packages deprecated, you should try to update to a new versions. Often there is a line that says what to do when you encounter warnings or errors.

With ‘npm update’ you can update your packages. As you say that you use the packages globably, try ‘npm update -g’ (-g stands for global).

Best,

---

<div class="post-metadata">

**Author:** ![romerocam](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/romerocam/32/99172_2.png) [@romerocam](https://community.hubspot.com/u/romerocam)\
**Post date:** [December 21, 2022, 5:00pm UTC](https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314/5 "2022-12-21T17:00:51Z")

</div>

Hi Sjardo! Thanks for your answer!! I will try your troubleshoot and let you know if there was any success!! I tried doing what the line says but didn’t work, now im trying your way, maybe it does work! Thanks!

---

<div class="post-metadata">

**Author:** ![romerocam](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/romerocam/32/99172_2.png) [@romerocam](https://community.hubspot.com/u/romerocam)\
**Post date:** [December 21, 2022, 5:10pm UTC](https://community.hubspot.com/t/deprecation-issues-while-installing-globally-hubspot-cli/71314/6 "2022-12-21T17:10:16Z")

</div>

Hey Sjardo! This is what i keep on having even after de mpn update -g…  
Ive serach on the respective lines to find the solution but i dont seem to work… Any other ideas?  
Thank you!  
romerocam@Juans-MacBook-Pro Hubspot % npm update -g  
npm WARN deprecated source-map-url@0.4.1: See [GitHub - lydell/source-map-url: [DEPRECATED] Tools for working with sourceMappingURL comments. · GitHub](https://github.com/lydell/source-map-url#deprecated)  
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see [Request’s Past, Present and Future · Issue #3142 · request/request · GitHub](https://github.com/request/request/issues/3142)  
npm WARN deprecated urix@0.1.0: Please see [GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly. · GitHub](https://github.com/lydell/urix#deprecated)  
npm WARN deprecated har-validator@5.1.5: this library is no longer supported  
npm WARN deprecated resolve-url@0.2.1: [GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser. · GitHub](https://github.com/lydell/resolve-url#deprecated)  
npm WARN deprecated source-map-resolve@0.5.3: See [GitHub - lydell/source-map-resolve: [DEPRECATED] Resolve the source map and/or sources for a generated file. · GitHub](https://github.com/lydell/source-map-resolve#deprecated)  
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See [There’s Math.random(), and then there’s Math.random() · V8](https://v8.dev/blog/math-random) for details.  
npm WARN deprecated request@2.88.2: request has been deprecated, see [Request’s Past, Present and Future · Issue #3142 · request/request · GitHub](https://github.com/request/request/issues/3142)
