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

win10, atom v1.0.13, terminal-plus v0.4.3 not working #15

Closed
zaaack opened this issue Sep 19, 2015 · 97 comments
Closed

win10, atom v1.0.13, terminal-plus v0.4.3 not working #15

zaaack opened this issue Sep 19, 2015 · 97 comments
Labels

Comments

@zaaack
Copy link

zaaack commented Sep 19, 2015

360 177806018311879

after successfully installed, it just don't show anything and can't type any commands. There are no error message either. But I have to say it could be the best terminal plugin in atom-windows

@jeremyramin
Copy link
Owner

Please try uninstalling and then reinstalling the app. Don't worry, your
settings shouldn't disappear.

On Fri, Sep 18, 2015, 9:05 PM Z.Y. notifications@github.com wrote:

[image: 360 177806018311879]
https://cloud.githubusercontent.com/assets/5233940/9974539/30a4d922-5ec6-11e5-8ecf-af67099e301f.png

after successfully installed, it just don't show anything and can't type
any commands. There are no error message either. But I have to say it could
be the best terminal plugin in atom-windows


Reply to this email directly or view it on GitHub
#15.

@zaaack
Copy link
Author

zaaack commented Sep 19, 2015

It's still not working.

@jeremyramin
Copy link
Owner

I'll have to take a look and run some tests of my own. I'll notify you here if I need any more information, or if I publish a release that fixes this issue.

@zaaack
Copy link
Author

zaaack commented Sep 19, 2015

I'll really appreciate it.

@jeremyramin
Copy link
Owner

I know what the issue is now. I should have a fix for it soon.

@zaaack
Copy link
Author

zaaack commented Sep 21, 2015

congratulations!!It's fast.

@jeremyramin
Copy link
Owner

Please update to the latest version of Atom (1.0.15) and try to use the package.

@zaaack
Copy link
Author

zaaack commented Sep 22, 2015

Thanks, I'll try in few fours.

@zaaack
Copy link
Author

zaaack commented Sep 22, 2015

I'm sorry to say that it still looks not working...
qq 20150922154252

@jeremyramin
Copy link
Owner

Can you please show me what your console says?

@zaaack
Copy link
Author

zaaack commented Sep 22, 2015

There are still nothing
qq 20150922154252

@zaaack
Copy link
Author

zaaack commented Sep 22, 2015

image
And I can find the winpty process in my tasklist

@jeremyramin
Copy link
Owner

That means it was launched but it didn't work, which is different from what I originally thought was wrong. I'm surprised that you aren't seeing any error output. This is an issue with a dependency of the package, which I'll have to look at and get back to you.

@Maistho
Copy link

Maistho commented Sep 24, 2015

I seem to have a similar issue, but I also get a message in the console every time I try to open the terminal.

Cannot find module '../build/Release/pty.node' 
C:\Users\maistho\AppData\Local\atom\app-1.0.16\resources\app.asar\src\task.js:47

I'm running Windows 10, Atom 1.0.16, Terminal Plus 0.5.1

Please let me know if there's anything I can do to help debug this. =)

@jeremyramin
Copy link
Owner

@Maistho This is because you don't have the tools necessary to compile the native module dependencies of Terminal-Plus (see author's note in README). However, the plugin will still work because I provide precompiled binaries for each operating system.

@jeremyramin
Copy link
Owner

@Maistho Actually, which language are you using on your system?

@thers
Copy link

thers commented Sep 24, 2015

Same problem. Have properly installed node-gyp and devtools console still reports that pty.node module cannot be found.

@Maistho
Copy link

Maistho commented Sep 24, 2015

@jeremyramin I'm using English UK, but I'm in Sweden and have Swedish time and currency format. Does language affect what binaries are used?

It seems that the winpty process starts (I can see it in taskmgr) but the terminal never loads. (Just a blinking cursor)

@Maistho
Copy link

Maistho commented Sep 24, 2015

I updated to 0.6.0, still have the same issue.
What do I need to install in order to compile the native module dependencies? (I already have nodejs and node-gyp installed globally)

@jeremyramin
Copy link
Owner

@ridersx There still might be an error causing node-gyp not to compile the binaries properly. The way to check this is to navigate to the pty.js dependency folder for Terminal-Plus and look at the builderror.log file.
Win: C:\Users\{your username}\.atom\packages\terminal-plus\node_modules\pty.js\builderror.log
Mac: /Users/{your username}/.atom/packages/terminal-plus/node_modules/pty.js/builderror.log

@Maistho I'm starting to think that this might be an issue with the pty.js dependency having a conflict with systems using a different language. I'll have to look through their code and see why this would even be an issue. Also, these are the node-gyp install instructions for every platform. You need a couple more things for compiling binaries.

@Maistho
Copy link

Maistho commented Sep 24, 2015

What language would it work on? I could test changing my system language or locale and see if that solves it.

Thanks for the link! =)

@jeremyramin
Copy link
Owner

I'm assuming that English is the only language it works on right now. If you could, please try changing the time and currency to English (or English UK in your case). If that still doesn't work, then we need to make sure that there aren't any other settings affecting the language on your system.

@Maistho
Copy link

Maistho commented Sep 24, 2015

Still doesn't seem to work (with english/UK). I'll try installing python and the other things needed for node-gyp and then rebuild, see if that helps.

@Maistho
Copy link

Maistho commented Sep 24, 2015

Also, I'm not sure if this is related, but if I try to uninstall while winpty-agent.exe is running the uninstall fails silently. I have to manually close the process in taskmgr before I can uninstall Terminal-plus

@zaaack
Copy link
Author

zaaack commented Sep 24, 2015

but if I try to uninstall while winpty-agent.exe is running the uninstall fails silently. I have to manually close the process in taskmgr before I can uninstall Terminal-plus

I have same problem, winpty-agent.exe process won't be killed after close the terminal tab.

@jeremyramin
Copy link
Owner

This could be a problem with the winpty-agent. I'll find some time in the next couple days to go through the code. Winpty is a dependency of a Terminal-Plus dependency, so I haven't dealt with it much.

@jeremyramin
Copy link
Owner

@Maistho I'm curious. Did installing the proper tools for node-gyp and compiling your own version fix this issue for you?

@zaaack
Copy link
Author

zaaack commented Sep 26, 2015

@jeremyramin I installed the vs2012 for desktop, I can find the winpty-agent.exe file in build directory, but there are no pty.node file, so the console shows can't find "../build/pty.node", I tried copy pty.node from bin/ to build/, but It's useless...

@jeremyramin
Copy link
Owner

@yzhen123 Use the following command to rebuild the pty.js dependency from the pty.js folder:
node-gyp rebuild --target=0.30.6 --dist-url=https://atom.io/download/atom-shell

@Zeklandia
Copy link

Atom 1.10.2, Windows 10 Pro, 64-bit, build 1607, 14388.0

Here's the error I get:

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> (C:\Users\Zeklandia\.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] (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\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> (C:\Users\Zeklandia\.atom\packages\terminal-plus\node_modules\pty.js\lib\pty_win.js:10:20)
    at Module._compile (module.js:413:34)
    at Object.defineProperty.value [as .js] (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\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> (C:\Users\Zeklandia\.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] (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\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>
(file:///C:/Users/Zeklandia/.atom/packages/terminal-plus/lib/process.coffee:1:7)(anonymous function) @ C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52
4C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52 Cannot read property 'bind' of null TypeError: Cannot read property 'bind' of null
    at process.<anonymous> (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task-bootstrap.js:82:23)
    at emitTwo (events.js:100:13)
    at process.emit (events.js:185:7)
    at handleMessage (internal/child_process.js:718:10)
    at Pipe.channel.onread (internal/child_process.js:444:11)(anonymous function) @ C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52

followed by:

C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52 Cannot read property 'bind' of null TypeError: Cannot read property 'bind' of null
    at process.<anonymous> (C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task-bootstrap.js:82:23)
    at emitTwo (events.js:100:13)
    at process.emit (events.js:185:7)
    at handleMessage (internal/child_process.js:718:10)
    at Pipe.channel.onread (internal/child_process.js:444:11)(anonymous function) @ C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:52
C:\Users\Zeklandia\AppData\Local\atom\app-1.10.2\resources\app.asar\src\task.js:49 Cannot find module '../build/Release/pty.node'

@rares-lupascu
Copy link

rares-lupascu commented Sep 29, 2016

same as @Zeklandia :(
installed plateformio-ide-terminal ... works perfectly

@Zeklandia
Copy link

Same here, @wowzaaa! platformio-ide-terminal works fine.

@konekoya
Copy link

konekoya commented Oct 14, 2016

Not sure if it's appropriate to ask here?
platformio-ide-terminal works great on my windows 10. But I've run into another problem. I tried to change the default shell to git-bash but after launching the terminal it just opens the git bash not opening it inside Atom pane.

@EnlightonOcean
Copy link

can some one please help me resolve this issue
error

@EnlightonOcean
Copy link

Cannot find python executables. Please help

@EnlightonOcean
Copy link

Getting error while running node-gyp rebuild --target=0.30.6 --dist-url=https://atom.io/download/atom-shell

@EnlightonOcean
Copy link

Running command C:\Users\mailt.atom\packages\terminal-plus\node_modules\pty.js> node-gyp rebuild --target=0.30.6 --dist-url=https://atom.io/download/atom-shell
is giving following error

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\mailt
.atom\packages\terminal-plus\node_modules\pty.js\build\deps\winpty\winpty-agent.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Users\mailt
C:\Users\mailt.atom\packages\terminal-plus\node_modules\pty.js\build\deps\winpty\winpty.vcxproj]

@guibot17
Copy link

I'm having the same issue with terminal-plus 0.14.5 on Win 10, x64.

events.js:154
Hide Stack Trace
Error: channel closed
at ChildProcess.target.send (internal/child_process.js:523:16)
at Task.module.exports.Task.send (C:\Users\name\AppData\Local\atom\app-1.11.2\resources\app.asar\src\task.js:117:27)
at TerminalPlusView.module.exports.TerminalPlusView.input (file:///C:/Users/name/.atom/packages/terminal-plus/lib/view.coffee:261:17)
at Terminal. (file:///C:/Users/name/.atom/packages/terminal-plus/lib/view.coffee:141:8)
at Terminal.EventEmitter.emit (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.js:109:12)
at Terminal.handler (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.js:3493:8)
at Terminal.keyPress (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.js:3243:8)
at HTMLDocument. (C:\Users\name.atom\packages\terminal-plus\node_modules\term.js\src\term.

I've tried every possible solution given here with no success.
Any help will be appreciated.

@laowuart
Copy link

laowuart commented Nov 1, 2016

same issue with terminal-plus 0.14.5 on Win 10, x64 atom 1.11.2

@Aisuko
Copy link

Aisuko commented Nov 2, 2016

Did it work? @Jeff-wu The same issue with you

@Dagrut
Copy link

Dagrut commented Nov 14, 2016

Same issue here, same bug happened (on a fresh install of atom on a debian stable that was just upgraded this morning).
And plateformio-ide-terminal works perfectly.

@guibot17
Copy link

plateformio-ide-terminal doesn't work for me neither. I have a on Win 10, x64.

@jarig
Copy link

jarig commented Nov 29, 2016

Doesn't work here as well with the latest stable Atom 1.12.6

@nrvarun
Copy link

nrvarun commented Dec 4, 2016

platformio-ide-terminal is working but not terminal plus. I have a windows 10, x64.

@dehghani-mehdi
Copy link

Doesn't work here too, I just installed Atom & terminal-plus. (windows 10 x64)
(I tired this, but the terminal open seems like it's disable)

@smolinari
Copy link

smolinari commented Dec 28, 2016

I too can't get terminal-plus to work with Windows 10. I am stuck at pty.js not building and failing with

Call to 'node -e "require('nan')"' returned exit status -1073741819 while in binding.gyp. while trying to load binding.gyp

I've tried everything mentioned here.

Edit: I've installed platformio-ide-terminal and it seems to be working.

Scott

@smowrey
Copy link

smowrey commented Apr 9, 2017

I've too installed platformer-ide-terminal and it worked immediately. Thanks @smolinari

@jay23794
Copy link

jay23794 commented Oct 3, 2017

Installing “terminal-plus@0.14.5” failed.Hide output…
Failed to install terminal-plus because Git was not found.
The terminal-plus package has module dependencies that cannot be installed without Git.
You need to install Git and add it to your path environment variable in order to install this package.
You can install Git by downloading, installing, and launching GitHub for Windows: https://windows.github.com
Run apm -v after installing Git to see what version has
showing this kind of error what to do

@abhishekhandacse
Copy link

Processing -File 'E:\CompSci\Project X\Project-X\templates\basic_app\registration.html' failed because the file does not have a '.ps1' extension. Specify a val
id Windows PowerShell script file name, and then try again.
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

@noahifi
Copy link

noahifi commented Feb 25, 2018

I'm going through the Stackskills online couse, "The Python Mega Course," which has a video entitled, "Setting up and Working with the Atom Editor" (4:37). The instructor appears to be using Windows 7. I'm using Windows 10. He shows how to install a useful package, "terminal Plus," and installs it. The "+" appears in the bottom of the Atom status line. I go through the same process and nothing confirms the Terminal Plus packages installs, no error message, nothing to indicate it installed successfully. I does appear in C\Users\Mike.atom.apm\terminal-plus with a folder for version 0.14.5. What is the simplest method to get terminal plus working with Atom running under Windows 10?

@mittalyashu
Copy link

mittalyashu commented Jun 10, 2018

#15 (comment)
Didn't work for me.

@jazzyjackson
Copy link

Windows 10 x64 v1803
Atom 1.29.0 x64

Use Legacy Console had no effect. Even restarted the pc, no effect.
Installed platformio-ide-terminal works great. Booted into Powershell, ubuntu subsystem bash works 🤷

@maqboolthoufeeq
Copy link

maqboolthoufeeq commented Jul 24, 2019

when i run command

node-gyp rebuild --target=0.30.6 --dist-url=https://atom.io/download/atom-shell

these are the errors

gyp: binding.gyp not found (cwd: C:\Windows\system32) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (C:\Users\MaqboolThoufeeqT\AppData\Roaming\npm\node_modules\node-gyp\lib\configure.js:344:16)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\MaqboolThoufeeqT\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--target=0.30.6" "--dist-url=https://atom.io/download/atom-shell"
gyp ERR! cwd C:\Windows\system32
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests