-
-
Notifications
You must be signed in to change notification settings - Fork 20
Windows Setup Instructions #52
Comments
It should also be noted that windows-included plain old regular powershell with administrative privileges seems to work, I cannot fully verify this, because now I've had a running site.js on my machine before, and it might just be that one instead. Upside of Powershell only method: you only need the install script. transcript of setup within powershell with administrative privilegesPS C:\Windows\system32> iex(iwr -UseBasicParsing https://sitejs.org/install.txt).Content
PS C:\Windows\system32> site [Windows hostname warning] Your primary DNS suffix is not set so we cannot calculate your hostname (full computer name). We are falling back to your computer name as retuned by os.hostname(). The app you’re running will most likely not work properly. To set your primary DNS suffix on Windows 10, go to Control Panel → System And Security → System → Change Settings link (next to Computer name) → [Change…] Button → [More…] Button → enter your domain name under Primary DNS suffix of this computer. � ███████ ██ ████████ ███████ ██ ███████
� ❨site.js❩ Using locally-trusted certificates. � ❨site.js❩ For statistics, see https://localhost/aa390afda94d8af1fdb2c3dc4fa1f185 |
Hi everyone!
I just tried to install site.js, and I failed a couple of times in (possibly) interesting ways. I would like to post them here in case other failed in similar ways. And if this is a common thing, maybe the setup instructions should be altered slightly.
What eventually worked
When I did the above, site would work as a command. Setup would look like this:
plain text of the above image
PS C:\Users\username>
What did not work; things I tried before
via node.js
(also see #51)
setting up from Node.js gave me a slightly older 16.0.1, but the interesting part here is, that it cannot be run with
site
, but only withsite.js.cms
- at least in my configuration.via install method in regular Powershell
This LOOKS like it runs fine, but it neither creates a
C:\Program Files\site.js
directory, nor does it work. Yes, I was asked for elevated permissions by my system, and of course I accepted them.plain text of the above image
site.js : Die Benennung "site.js" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines
ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern
enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1
site.js.cmd : Die Benennung "site.js.cmd" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder
eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern
enthalten), und wiederholen Sie den Vorgang.
In Zeile:1 Zeichen:1
(the same thing happens if one closes and reopens the powershell, I tried this because of possibly missing ENV-Vars)
via install method in Terminal WITHOUT ADMINISTRATIVE PRIVILEGES
This also looks like it ran fine, but did not create
C:\Program Files\site.js
either. Yes, in this case I also got asked for elevated permissions by my system, and of course I accepted them.plain text of the above image
The text was updated successfully, but these errors were encountered: