NodeOS / NodeOS

Lightweight operating system using Node.js as userspace

Home Page:http://node-os.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems trying to use github repo in Windows 10.

Stanlyhalo opened this issue · comments

I'm using Windows 10 Home, and I am trying to use NodeOS for Windows 10 from the github zip download. I unzipped it and now I'm trying to use it, first I did "npm install", their were a lot of red errors, but I'm pretty sure it might be okay (idk, it made a log file), but when I do "npm run build", it throws: " 'scripts' is not recognized as an internal or external command".

I put "node" before it says "scripts/build" in the build key of scripts in the package.json. But I get a new error:
#!/usr/bin/env bash
^
SyntaxError: Invalid or unexpected token

Edit*: Should I try making my NodeOS custom os in a linux os?

You have to run the scripts under Linux, bash scripts don't work in PowerShell and Window's cmdline.

Aw man, time to make my windows machine dual boot then.

You could just use a VM.

Btw I ended up just using Ubunto WSL.