Jump to content

EACCES permission error while installing the Dev Server - Installing nvm (Node Version Manager)

Recommended Posts

Site URL: https://llama-shallot-7yz9.squarespace.com

I'm getting the standard EACCES: permission denied when I try to run: 

npm install -g @squarespace/server

The squarespace docs direct you to the npm docs here. The npm docs say:

Quote

"You do not need to remove your current version of npm or Node.js before installing a node version manager."

However speaking with a friend he said that you actually do need to uninstall npm and Node.js?

I'm currently backing up my Mac with time machine, and I'm going to give this a whirl to see if it solves my issue: https://ajaykarwal.com/uninstall-node-and-install-nvm

Does anybody have some experience and can shed some light? I'm working on MacOS Big Sur.

 

Thanks in advanced.

Link to comment
  • Replies 2
  • Views 644
  • Created
  • Last Reply

It's been awhile since I've installed the dev server on macOS but would a sudo do? Yes I know there are arguments on the good and bad of doing it this way. Let's not dig into that. If you want the scoop on the pros can cons hit the search engines.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.