kitajchuk / node-squarespace-server

DEPRECATED! A local Squarespace development server in node.js.
MIT License
186 stars 26 forks source link

Supported os's #168

Closed imaffett closed 8 years ago

imaffett commented 8 years ago

What os/platforms does this support? I can't install this on OS X/El Capitan because of /usr/share being locked down (unicode install fails).

I've tried on Ubuntu 14.04 with Node v4.1.2 and 5.0.0, but get various issues with install. On 4.1.2 keytar fails to install.

ghost commented 8 years ago

I'm not sure on platform support but it definitely works on OS X latest. The two most common issues I've seen are a failure to install because the user wasn't installing using sudo, and a failure to install because of not accepting the terms of service agreement from xcode. I believe the latter has to do with keytar needing some sort of permissions.

Unfortunately I haven't run into the error in awhile so I might not be giving you 100% accurate information :)

imaffett commented 8 years ago

@jasonbarone you sure about OS X and El Capitan? The unicode dependency tries to install in /usr/share which is blocked. See http://apple.stackexchange.com/questions/193368/what-is-the-rootless-feature-in-el-capitan-really on why it will fail. I can get it to install, but then it fails trying to find the unicode module

Error: Cannot find module 'unicode/category/So'

I tried using sudo and I use XCode daily (and the command line tools), so the TOS is not an issue.

ghost commented 8 years ago

Ya I'm on El Capitan and have used this cli tool for awhile now.

I meant to say XCode's command line tools, xcode-select --install. I recall reading about the El Capitan root issue and installing xcode-select and agreeing to the terms in the command line made all of my permission problems go away after upgrade to El Capitan. FYI, I also don't work as a root user and instead use sudo when installing global tools.

What about trying to uninstall and reinstall xcode-select?

kitajchuk commented 8 years ago

@imaffett - To answer your question in general, no OS testing has been done for this tool. I've been running this tool on my MAC since I think Mavericks. I've always just developed on my working MAC and have not done any testing, especially on Windows. This tool has always been a "build it as you need it" project given its nature.

As for the issue you're having, I haven't directly experienced it. I do know that due to some of the dependencies the server currently uses you need to be running node v0.4.6 at max right now. I plan on updating the server so this isn't a problem anymore but up to this point I haven't had a direct need that requires me to make this change.

imaffett commented 8 years ago

@kitajchuk - thanks. After the outage over the weekend in NYC, and this, we've moved away from Squarespace.

thanks!