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

Just single symbol of cursor and I can't type anything. #321

Open
piaoyidage opened this issue Aug 16, 2016 · 17 comments
Open

Just single symbol of cursor and I can't type anything. #321

piaoyidage opened this issue Aug 16, 2016 · 17 comments

Comments

@piaoyidage
Copy link

ecbbbc34-62bc-11e6-8ea0-33f0a1c526af

@larryranches
Copy link

I'm also getting the same thing as well.

@bryansmithsf
Copy link

I'm having the same issue on my MacBook Air but not on my MacBook Pro. Both have the latest MacOS updates.

@jxiaox
Copy link

jxiaox commented Aug 18, 2016

+1

@Roland0
Copy link

Roland0 commented Aug 19, 2016

Issue confirmed, also on OSX.

@adumbgreen
Copy link

+1, OS X Yosemite, Atom 1.9.9. Have tried apm rebuild, deleting the node_modules folder inside the package directory and re-running npm install, and re-installing the package as a whole. No dice.

@twingligh
Copy link

Same here. Linux Mint 18 Cinnamon. Atom 1.9.9

@dcblogdev
Copy link

same just installed it.

@jsguy
Copy link

jsguy commented Aug 23, 2016

Ditto, OSX 10.10.5

@dcblogdev
Copy link

Until this is fixed for anyone stuck on this, this package works https://github.com/platformio/platformio-atom-ide-terminal

@ada-lovecraft
Copy link

The issue goes -all- the way down to a dependency on nan v2.0.5 a few packages deep. I ran into this exact same thing some time back when attempting to use electron and the IPC channel to do something very specific that I can't remember what now.

Anyhow, to fix it (on macOS at least)

$ cd ~/.atom/packages/terminal-plus/pty.js
$ rm -rf node_modules
$ atom package.json

Edit the package.json file and change the nan version from 2.0.5 to >2.0.5

Close atom and jump back to your terminal

$ export npm_config_target=0.37.8
$ export npm_config_arch=x64
$ export npm_config_disturl=https://atom.io/download/atom-shell
$ export npm_config_runtime=electron
$ export npm_config_build_from_source=true
$ HOME=~/.atom-gyp npm install

There... you fixed it...

probably.

@pbnj
Copy link

pbnj commented Aug 24, 2016

For what it's worth, the Chrome Dev-Tools console window throws the following console error:

/Applications/Atom.app/Contents/Resources/app.asar/src/task.js:52 Module version mismatch. Expected 47, got 46. Error: Module version mismatch. Expected 47, got 46.
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)
    at Object.Module._extensions..node (module.js:440:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:158:20)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/pbenjamin/.atom/packages/terminal-plus/node_modules/pty.js/lib/pty.js:17:9)
    at Module._compile (module.js:413:34)
    at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/pbenjamin/.atom/packages/terminal-plus/node_modules/pty.js/index.js:2:18)
    at Module._compile (module.js:413:34)
    at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/pbenjamin/.atom/packages/terminal-plus/lib/process.coffee:1:7)
    at Object.<anonymous> (/Users/pbenjamin/.atom/packages/terminal-plus/lib/process.coffee:1:1)
    at Module._compile (module.js:413:34)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)

It appears that the Windows and Mac binaries for your pty package needs updating again.

@vihangpatil
Copy link

Fix by @codevinsky works for me on Mac.
Small correction. First step is:
$ cd ~/.atom/packages/terminal-plus/node_modules/pty.js
... instead of
$ cd ~/.atom/packages/terminal-plus/pty.js

@swapnilchincholkar
Copy link

@codevinsky Thanks a ton!!!!!
@vihangpatil Thanks for correction !!

@deimon777
Copy link

Terminal-fusion
Work for my
https://atom.io/packages/terminal-fusion

@ortonomy
Copy link

@codevinsky - thanks! Can confirm this worked for me too.

@jeffpdotone
Copy link

@codevinsky - Thanks! Works on Ubuntu 16.04.

@vuhung3990
Copy link

platformio work perfect, fork of terminal-plus

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