Skip to content
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

cannot build tty.js : #154

Open
jmls opened this issue Feb 3, 2016 · 1 comment
Open

cannot build tty.js : #154

jmls opened this issue Feb 3, 2016 · 1 comment

Comments

@jmls
Copy link

jmls commented Feb 3, 2016

when trying to install tty.js, I get a compile error and it fails to build.

this is the error in the console:

npm install tty.js

> [email protected] install /var/myApp/node_modules/tty.js/node_modules/pty.js
> node-gyp rebuild

make: Entering directory '/var/myApp/node_modules/tty.js/node_modules/pty.js/build'
  CXX(target) Release/obj.target/pty/src/unix/pty.o
../src/unix/pty.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)':
../src/unix/pty.cc:222:34: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result]
       if (strlen(cwd)) chdir(cwd);
                                  ^

@roccomuso
Copy link

are you on linux?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants