cerebroapp / cerebro-shell

📦 Cerebro plugin to execute any shell command from Cerebro search line
18 stars 1 forks source link

This plugin won't install under windows #1

Closed danships closed 7 years ago

danships commented 7 years ago

When I type plugins shell and select to shell plugin and 'Install', the Install label changes to Installing. App will be reloaded...

But when I type $ echo yes nothing happens. When I type plugins shell again, I see that the plugin has the install option again. So it does not seem to be installed.

benadamstyles commented 7 years ago

Getting the same behaviour on macOS. Cerebro v0.2.1

KELiON commented 7 years ago

@Leeds-eBooks hm, on mac it should work. Can you try to turn-on developer mode in Cerebro preferences, restart the application, open developer tools by alt+cmd+I and check if there any errors when you try to use it?

benadamstyles commented 7 years ago

@KELiON Nothing in the console I'm afraid.

KELiON commented 7 years ago

@Leeds-eBooks can you send me a gif or screenshot? Also, can you check that in dev tools on top, in group "Load external plugins" you see "Plugin: cerebro-shell"?

benadamstyles commented 7 years ago

@KELiON I don't see Plugin: cerebro-shell among the others because it never installs – as the OP says, it just hangs on Installing. App will be reloaded...

danships commented 7 years ago

@KELiON Is there a way to open the developer console on windows? Maybe the console will display something at the time of attempting to install the plugin.

KELiON commented 7 years ago

@Leeds-eBooks does it happen only with cerebro-shell? Can you install other plugins?

KELiON commented 7 years ago

@matueranet I'm not sure, but maybe alt+windows+I will open it

danships commented 7 years ago

@KELiON No, unfortunately not. For me, other plugins do install. The problem is only with cerebro-shell.

benadamstyles commented 7 years ago

Same here, all other plugins install fine. @matueranet I think it's either ctrl + alt + i or ctrl + shift + i on windows.

danships commented 7 years ago

@Leeds-eBooks already tried different combinations, those did not work unfortunately. Do you see something in the console log when installing the plugin?

benadamstyles commented 7 years ago

@matueranet Nothing at all.

KELiON commented 7 years ago

@Leeds-eBooks if your are doing it on mac, can you try please to share output of this commands in your terminal:

cd ~/Library/Application\ Support/Cerebro/plugins/
ls ./node_modules
cat ./package.json

You should see something like this: image

benadamstyles commented 7 years ago

Output of ls:

cerebro-emoj         cerebro-imdb         cerebro-kill         cerebro-osx-define
cerebro-gif          cerebro-ip           cerebro-osx-contacts cerebro-osx-system

Output of cat:

{"name":"cerebro-plugins","dependencies":{"cerebro-imdb":"^0.0.4","cerebro-gif":"^0.2.1","cerebro-kill":"^0.1.1","cerebro-emoj":"^0.2.3","cerebro-ip":"^0.1.2","cerebro-osx-system":"^0.0.4","cerebro-osx-contacts":"^0.0.1","cerebro-osx-define":"^0.0.1"}}
benadamstyles commented 7 years ago

Neither includes cerebro-shell

KELiON commented 7 years ago

@matueranet @Leeds-eBooks can you try to install this plugins again? I found this issue and for me it is fixed

benadamstyles commented 7 years ago

It worked! Great stuff, thanks!

danships commented 7 years ago

@KELiON Installation now works, so that is great. Only executing the commands themselves doesn't work. If I for example type $ echo hello, then I do not see hello as output in the console window. The window freezes. But that is something for a different issue I guess.

KELiON commented 7 years ago

@matueranet exactly, I'll fix it (currently works only on mac and probably on linux)

MohitSG96 commented 5 years ago

shell executes the command but it doesn't show the output as shown in picture