-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File is missing '../build/Release/pty.node' #89
Comments
It means pty.js native code (/src/unix/pty.cc) hasn't been compiled. |
when i do npm install pty.js
make: Entering directory I'm on Redhat 6.4 |
make clean && make |
[orw-oragi-rh6] oragi:/home/oragi/delme/node_modules/pty.js$ make clean |
my versions [orw-oragi-rh6] oragi:/home/oragi/delme/node_modules/pty.js$ npm -v |
npm install -g node-gyp |
still "Nothing to be done for `all'." make gyp |
Hello, Thanks for the cool module. It will replace many janky bash scripts. I ran into this issue and spent the last hour trying to figure out why node-gyp was being so stubborn. Turns out, I built node (0.12.2) awhile back with debug symbols. In turn, node-gyp compiles this module only in Debug. The solution is to cd into the module dir I didn't realize node-gyp did this. Edit: For clarity, this does compile. It just compiles to '../build/Debug/pty.node' |
after installing tty.js
pty.js/lib/pty.js is pointing to a file that doesn't exist
/**
*/
var net = require('net');
var tty = require('tty');
var extend = require('extend');
var pty = require('../build/Release/pty.node');
module.js:340
throw err;
^
Error: Cannot find module '../build/Release/pty.node'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/oragi/tt/node_modules/tty.js/node_modules/pty.js/lib/pty.js:10:11)
at Module._compile (module.js:456:26)
The text was updated successfully, but these errors were encountered: