I get the following error (see below) when trying to install the hubspot CLI. Using Mac, zsh, and nvm. What can I do to solve this permission issue?
When running ls -la, I can see that I am the owner of the node_modules folder as well as the @hubspot-folder, not root.
Could the issue be caused because I first tried running the npm install @hubspot-command with bash in the terminal, but then changed back to zsh? Is there any way to remove the @hubspot-folder in node_modules/uninstall hubspot cli to be able to try again from scratch?
Would be really greatful for some guidance on how to solve this🙏
I have checked the permissions and my user have all the right permissions (drwxr-xr-x) but I still don't get access...
Love the obvious solution😂 I tried uninstalling it both in the terminal and then I deleted the @hubspot-folder inside the node_modules folder. Tried to install hubspot cli again (using the command npm install -g @hubspot/cli) - but I still get the same error as mentioned above. Why (?!) do I get permission denied on a folder that doesn't even exist (not visible anywhere, not existing in node_modules folder and I've emptied the trash) that I am trying to install? Any ideas?😅