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

Hi,
If you haven't received an answer yet, you can post on some FB groups
+ Squarespace Customization Resource Groups
+ Squarespace Community
+ Squarespace Entrepreneur
+ Squarespace Rockstars

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.