chjj/tty.js — Issue #10: mv: rename -t to ./-t: No such file or directory
Author: trevor
Created: 2012-02-21 08:14:42+00:00
State: open

```
% npm install -g tty.js
[...]
npm http 304 https://registry.npmjs.org/websocket-client/1.0.0
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.2.2
npm http 304 https://registry.npmjs.org/uglify-js/1.0.6
/usr/local/bin/tty.js -> /usr/local/lib/node_modules/tty.js/bin/tty.js

> tty.js@0.1.3 install /usr/local/lib/node_modules/tty.js
> make

node-waf configure build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /usr/local/lib/node
Checking for node prefix : ok /usr/local/Cellar/node/0.6.11
'configure' finished successfully (0.080s)
Waf: Entering directory `/usr/local/lib/node_modules/tty.js/build'
[1/2] cxx: src/pty.cc -> build/Release/src/pty_1.o
../src/pty.cc: In function ‘v8::Handle PtyFork(const v8::Arguments&)’:
../src/pty.cc:50: warning: deprecated conversion from string constant to ‘char*’
[2/2] cxx_link: build/Release/src/pty_1.o -> build/Release/pty.node
Waf: Leaving directory `/usr/local/lib/node_modules/tty.js/build'
'build' finished successfully (0.595s)
mv: rename -t to ./-t: No such file or directory
make: *** [all] Error 1
npm ERR! error installing tty.js@0.1.3

npm ERR! tty.js@0.1.3 install: `make`
npm ERR! `sh "-c" "make"` failed with 2
npm ERR!
npm ERR! Failed at the tty.js@0.1.3 install script.
npm ERR! This is most likely a problem with the tty.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make
npm ERR! You can get their info via:
npm ERR! npm owner ls tty.js
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "tty.js"
npm ERR! cwd /private/tmp
npm ERR! node -v v0.6.11
npm ERR! npm -v 1.1.1
npm ERR! code ELIFECYCLE
npm ERR! message tty.js@0.1.3 install: `make`
npm ERR! message `sh "-c" "make"` failed with 2
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/tmp/npm-debug.log
npm not ok
```