pty.js
pty.js copied to clipboard
Missing module in windows...
gyp: deps\winpty\winpty.gyp not found (cwd: C:\Users\michaelr\AppData\Local\Temp\apm-install-dir-11487-1116-14ej5wl\node_modules\term2\node_modules\pty.js)
gypnpm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! 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 their info via:
npm ERR! npm owner ls pty.js
npm ERR! There is likely additional logging output above.
+1
The problem is, that winpty is included as a submodule and it's source is NOT included in the release file (just open https://github.com/chjj/pty.js/releases/tag/v0.2.4). That's why node-gyp can't find the dependencies during installation.
You can do the following to install it globally, but unfortunately atom packages (which are you trying to install) don't look for global node modules...
git clone https://github.com/chjj/pty.js.git
git submodule update --init --recursive
cd pty.js
npm install -g
+1
+1