Can't install in Mac

Super non-technical guy here and I can’t get over this installation issues. please help

Hi, @RalphEmbalsado :waving_hand: Welcome to our community. Thanks for your question.

Diagnosing permission-based errors like EACCES is challenging. Hopefully, the community can help get you closer or rule out some common roadblocks.

Please ensure you have tried both of these steps. Even if you tried one or the other, it cannot hurt to do both, if needed, one more time.

Please note: Neither of these steps requires you to uninstall anything beforehand — Source. Just follow the steps. Save anything required. Power your system down. And reopen anew. That’s how I do it. Just in case anything needs to be updated or get settled after making changes.

Hey, @Anton @Indra @Jnix284 @BarryGrennan, do you have any tips you can provide to our friend @RalphEmbalsado?

If after trying these steps, you’re still experiencing the issue, don’t hesitate to come back and let us know.

Thank you! — Jaycee

Hey - i found something online and it fixed my problem. thanks!

I’m glad you could get it working @RalphEmbalsado , would you mind sharing the link to the resource you found so others reading the thread know where to go?

Sure. I got this link from a reply made by https://community.hubspot.com/t5/user/viewprofilepage/user-id/492045. He deserved all the credit.

I fixed the issue via this ;link >> https://letscodepare.com/blog/npm-resolving-eacces-permissions-denied

@RalphEmbalsado awesome, thank you!

Hi @RalphEmbalsado,

just to make sure - you have installed Node.js, right?

If it’s your private maschine - try

sudo npm install -g @hubspot/cli

prepending “sudo” to your command means running it as admin/“sledgehammer method”. It can fix some things but shouldn’t be the way to go. So don’t overuse it.

If it’s not your maschine - please contact your IT admin so he/she installs everything for you.

hope that helps,

best,

Anton