tylerbns Posted March 19, 2020 Posted March 19, 2020 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?
webdes03 Posted April 26, 2020 Posted April 26, 2020 Same issue here. I've tried reinstalling node and nvm and that hasn't solved it.
ChromaticZero Posted May 11, 2020 Posted May 11, 2020 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?
PlutoTom Posted July 8, 2020 Posted July 8, 2020 I have the same problem, did you ever find a fix? I have tried running only "squarespace-server" in and out of my template folder.
DDale Posted July 21, 2020 Posted July 21, 2020 Had the same problem, I fixed it by not using PowerShell as terminal but changed to Git Bash
Guest Posted August 3, 2020 Posted August 3, 2020 Any other suggestions? I'm still having the same issue even after following the suggestions.
jayowl Posted September 2, 2020 Posted September 2, 2020 After alot of digging yesterday and following the suggestions on. Here are my links that worked for me for Windows. Used GitBash Follow the guidelines on this page. https://developers.squarespace.com/local-development/ I had to use this command to allow Ampersands running the file. https://medium.com/@caiomsouza/fix-for-powershell-script-not-digitally-signed-69f0ed518715 And you have to switch the squarespace-server version! This is what got me googling for awhile. npm uninstall -g @squarepace/server npm install -g @squarespace/server@1.6.2
ONoland Posted December 24, 2022 Posted December 24, 2022 (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 December 25, 2022 by ONoland
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment