Open jmls opened 8 years ago
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 > pty.js@0.3.0 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); ^
are you on linux?
when trying to install tty.js, I get a compile error and it fails to build.
this is the error in the console: