Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Windows 10 Local development not working


tylerbns

Question

Hi all,

I am new to squarespace and trying to setup so I can develop locally. I followed the basic beginner guide and finished it but now I want to develop local instead of push to squarespace with git every change.

The issue is whenever I run the command squarespace-server http://mywebsite --auth I get this error below that the ampersand character is not allowed. This is from the powershell script in my npm folder. Every other npm script uses node and for some reason squarespace uses echo. 

Has anyone else had this issue? Does squarespace not support windows 10?

image.thumb.png.f765de37623beaae169f9579685c2e07.png 

Link to post
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

7 answers to this question

Recommended Posts

  • 0

I'm running it on Windows 10 with no problems. I have a couple questions:

1. Have you tried running it without the --auth parameter?

2. Are you running it from inside the template folder you cloned from your site?

Link to post
  • 0

After alot of digging yesterday and following the suggestions on. Here are my links that worked for me for Windows. 

  1. Used GitBash
  2. Follow the guidelines on this page. https://developers.squarespace.com/local-development/
  3. I had to use this command to allow Ampersands running the file. https://medium.com/@caiomsouza/fix-for-powershell-script-not-digitally-signed-69f0ed518715
  4. And you have to switch the squarespace-server version! This is what got me googling for awhile. 
    1. npm uninstall -g @squarepace/server
      
      npm install -g @squarespace/server@1.6.2
Link to post

Create an account or sign in to comment

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


×
×
  • Create New...