-
Notifications
You must be signed in to change notification settings - Fork 480
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
Can't install in mac osx #115
Comments
I installed the node-gyp by: sudo npm install -g node-gyp But can't solve the problem. |
Any idea? |
Anybody encounter the same issue? |
I'm also having a similar problem:
But this is just the first of a series of errors, mostly related to node-gyp. |
Yes. I found the node-gyp is installed. You have any workaround to fix the tty.js installation problem? 在 2014年5月22日,下午06:43,arctouch-ecilteodoro notifications@github.com 写道:
|
Not yet. Which version of node are you using? I'm using the latest v0.11.13. I'll try with an earlier version and will let you know. |
I don't have a much earlier version of node. I tested with v0.11.12 and it broke when installing pty.js. |
v0.10.26. Maybe I’ll upgrade the version first. Thanks. 在 2014年5月22日,下午07:02,arctouch-ecilteodoro notifications@github.com 写道:
|
The latest version is v0.10.28 in nodejs official website. 在 2014年5月22日,下午07:07,arctouch-ecilteodoro notifications@github.com 写道:
|
Here's how I could work around this issue:
Change line 39 to:
Save and exit vim (:qw)
Remove line for pty dependency ( "pty.js": "0.2.4", ) then save&exit
That's it. |
It worked beautifully! Thanks! |
@thirstyfish: thanks for the workaround. |
that worked for me too, thanks ! |
Also worked for me in Mac OS 10.9.4. Thanks |
fatal error: '/usr/include/util.h' file not found |
@stevenvachon Did you install Xcode and the command line developer tools (you can do this from the terminal via |
Thanks @mscdex. That solved it. Will there ever be a binary distribution of pty.js made available for simpler installs and for building node-webkit apps without VMs or clusters. |
@thirstyfish |
Thanks @thirstyfish ! Your work-around worked on Mac OS 10.10 and node v0.10.33 today. |
Works on 10.10.1 |
Working on io 1.3.0 👍 thanks! |
I got errors when I ran the command:
sudo npm install -g tty.js
The error messages are:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
sh: node-gyp: command not found
npm ERR! pty.js@0.2.3 install:
node-gyp rebuild
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the pty.js@0.2.3 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.
The text was updated successfully, but these errors were encountered: