Homebrew Question Need help with Pegaswitch

Status
Not open for further replies.

scionae

*clicking circles*
OP
Member
Joined
Dec 28, 2016
Messages
666
Trophies
0
XP
2,137
Country
Italy
I know Pegaswitch is old, but I need help with the setup.
I'm using the lunix subsystem (ubuntu) to run my commands.
When I run "npm install" in the terminal, it gives me this error:

: not foundram Files/nodejs/npm: 3: /mnt/c/Program Files/nodejs/npm:
: not foundram Files/nodejs/npm: 5: /mnt/c/Program Files/nodejs/npm:
/mnt/c/Program Files/nodejs/npm: 6: /mnt/c/Program Files/nodejs/npm: Syntax error: word unexpected (expecting "in")


Then, when trying to run the command "sudo node start.js", it gives me this error:

/home/shy/pegaswitch/start.js:19
let argv = yargs
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3


I don't know what to do, I have everything downloaded and up-to-date. Any suggestions? It's important, please.[/ERROR]
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: damn wifi