Jump to content

Windows 10 Local development not working

Recommended Posts

Posted

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 

  • 1 month later...
  • Replies 9
  • Views 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
Posted

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?

  • 1 month later...
  • 2 weeks later...
  • 2 weeks later...
Posted

Any other suggestions?

I'm still having the same issue even after following the suggestions.

  • 5 weeks later...
Posted

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
  • 2 years later...
Posted (edited)

Have you tried typing the error number into your browser? As this is usually a very effective way. If you don't find the answer on the Internet, I recommend installing a newer version of Windows. I think the best version is Windows 11, as it is the newest and best-optimized operating system. Also, to interact with other programs, it is better to buy the windows 11 license because a licensed Windows has many advantages compared to the pirated version.

Edited by ONoland

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.