reswitched / pegaswitch

PegaSwitch is an exploit toolkit for the Nintendo Switch
https://reswitched.team
ISC License
934 stars 107 forks source link

Building using Windows Linux Subsystem, fsevents #87

Closed futurepr0n closed 6 years ago

futurepr0n commented 6 years ago

Hi all,

I was using the Windows Linux Subsystem, I installed that, npm, git, nodejs, everything fine. Cloned the directory and went to build with NPM install and got:

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.3
npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! pty.js@0.3.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pty.js@0.3.1 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pty.js package,
npm ERR! not with npm itself.

Is this an error that I could potentially work around?

npm version 3.5.2 nodejs version 4.6.2

futurepr0n commented 6 years ago

Issue was nodejs was not installed using apt-get but without these steps:

https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

I installed the latest from the instructions, re-ran and was successful!