Jump to content

Unable to install Squarespace local dev server (on Windows 11)

Recommended Posts

Posted

Hi all, I've been trying for an hour to install the Squarespace local development server but seem to keep getting errors. Other npm packages install fine, just the Squarespace one has errors; installing the package either globally or locally in the template folder yields the error below.

npm install -g @squarespace/server
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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 https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142     npm WARN cleanup Failed to remove some directories [
npm WARN cleanup   [
npm WARN cleanup     'C:\\Users\\lukas\\AppData\\Roaming\\nvm\\v20.10.0\\node_modules\\@squarespace\\server',
npm WARN cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\lukas\AppData\Roaming\nvm\v20.10.0\node_modules\@squarespace\server\build'] {
npm WARN cleanup       errno: -4048,
npm WARN cleanup       code: 'EPERM',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'C:\\Users\\lukas\\AppData\\Roaming\\nvm\\v20.10.0\\node_modules\\@squarespace\\server\\build'
npm WARN cleanup     }
npm WARN cleanup   ],
npm WARN cleanup   [
npm WARN cleanup     'C:\\Users\\lukas\\AppData\\Roaming\\nvm\\v20.10.0\\node_modules\\@squarespace\\server\\node_modules',
npm WARN cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\lukas\AppData\Roaming\nvm\v20.10.0\node_modules\@squarespace\server\node_modules\tar-fs'] {
npm WARN cleanup       errno: -4048,
npm WARN cleanup       code: 'EPERM',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'C:\\Users\\lukas\\AppData\\Roaming\\nvm\\v20.10.0\\node_modules\\@squarespace\\server\\node_modules\\tar-fs'
npm WARN cleanup     }
npm WARN cleanup   ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\lukas\AppData\Roaming\nvm\v20.10.0\node_modules\@squarespace\server
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npm run accept && node scripts/execif.js --exists=build npm run copyrunscript
npm ERR! > @squarespace/server@1.8.13 accept
npm ERR! > node scripts/accept.js LICENSE.txt
npm ERR!
npm ERR! Using this software requires accepting the Squarespace Developer Terms of Use and Oracle Binary Code License Agreement. See LICENSE.txt.
npm ERR! To read the file, press Enter. : Executing: npm run copyrunscript
npm ERR! spawnSync cmd.exe ENOENT    

Any help would be greatly appreciated

  • 5 months later...
Posted

Trying to figure out why I get this error when running the Squarespace Developer platform on Windows 11. 

"Setting file permissions was not successful. file=C:\Users\Admin\.squarespace-local-developer"

The localhost also just reads "Not Authorized". I haven't been able to find a solution for this. I've even tried deleting and redoing all the local development steps but no luck. Thoughts on how to fix this? 

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.