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

Nw/pty fixes #1353

Merged
merged 4 commits into from
Jan 10, 2017
Merged

Nw/pty fixes #1353

merged 4 commits into from
Jan 10, 2017

Conversation

nw
Copy link
Contributor

@nw nw commented Jan 7, 2017

Should be good to go. An update to theREADME.md might be advised but will wait for feedback before proceeding.

  • pty.js has been renamed to node-pty changes already made in vscode.
  • Some of the build issues and troubleshooting are masked by script/install. No handling of stderr also spawn should probably be used instead of exec or at the very least increase maxBuffer. Going to issue a PR shortly.
  • node-gyp builds can fail because of xcode-select. The following solution works great if you don't want to wait for a huge download from apple. http://stackoverflow.com/a/17980786 (sudo xcode-select -s /Applications/Xcode.app/Contents/Developer)
  • Not a huge fan of how install-app-deps works. #5 in quick setup references node-gyp-rebuild which I found to be more intuitive, I refrained from adding an additional dep for now. Example: electron-rebuild -m app -w node-pty.
  • Added npm run clean to reset everything for sanity checking.

cc: @rauchg

@nw nw mentioned this pull request Jan 7, 2017
@rauchg
Copy link
Member

rauchg commented Jan 10, 2017

node-gyp builds can fail because of xcode-select. The following solution works great if you don't want to wait for a huge download from apple. http://stackoverflow.com/a/17980786 (sudo xcode-select -s /Applications/Xcode.app/Contents/Developer)

We should mention this on the README in the pty section

@rauchg rauchg merged commit 470d02d into vercel:master Jan 10, 2017
@Tyriar
Copy link
Contributor

Tyriar commented Jan 10, 2017

@nw you beat me to it! 😄

@rauchg FYI I gave up on doing this change because I couldn't build due to #1310

@rauchg
Copy link
Member

rauchg commented Jan 10, 2017

@Tyriar strange, yet it works on Travis CI (Linux)? ¯_(ツ)_/¯

@Tyriar
Copy link
Contributor

Tyriar commented Jan 10, 2017

Not sure why, it happened on both my Ubuntu 16.10 machines. I didn't try yarn though

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

Successfully merging this pull request may close these issues.

3 participants