reswitched / pegaswitch

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

Error when doing "npm install" on Linux Mint 18.3 #120

Closed dpronyaev closed 6 years ago

dpronyaev commented 6 years ago

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. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pty.js npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pty.js npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /root/pegaswitch/npm-debug.log

gyp: binding.gyp not found (cwd: /root/pegaswitch) while trying to load binding.gyp

misson20000 commented 6 years ago

npm ERR! Please include the following file with any support request:

npm ERR! /root/pegaswitch/npm-debug.log

dpronyaev commented 6 years ago

npm-debug.log

TuxSH commented 6 years ago

@dpronyaev in package.json, remove the line containing pty.js and insert "node-pty": "^0.7.4", instead, then reinstall pegaswitch. Please let us know if it works (while we are testing that fix ourselves)...

misson20000 commented 6 years ago

Pull latest master and try again. Please re-open the issue if you're still having problems. If you want to use the curses UI, you will now have to pass --enable-curses.