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

Plugins not loading using PowerShell #1395

Closed
AlanPBourke opened this issue Jan 12, 2017 · 13 comments
Closed

Plugins not loading using PowerShell #1395

AlanPBourke opened this issue Jan 12, 2017 · 13 comments
Labels
🖼 Platform: Windows Issue pertains to Windows 🐛 Type: Bug Issue pertains to something wrong within Hyper

Comments

@AlanPBourke
Copy link

Just updated to Hyper 1.1.0 on Windows 7 x64. Prior version was working fine. Now plugins are not working and throwing an npm error.

Have tried:

  • Deleting .hyper_plugins and updating Node. Running node install from within .hyper_plugins does the same thing.
  • Uninstall, delete .hyper.js and plugins folder, reinstall.
    npm-debug-log.txt

Hyper 1.1.0
Electron 1.4.7
win32 x64 6.1.7601

@tehbilly
Copy link

Same issue with Win10. systeminformation appears to be the culprit for me:

npm ERR! notsup Unsupported platform for systeminformation@3.13.0: wanted {"os":"darwin,linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    darwin,linux
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

@matheuss
Copy link
Member

@AlanPBourke @tehbilly which plugin(s) were you trying to install?

@matheuss matheuss added 🖼 Platform: Windows Issue pertains to Windows 🐛 Type: Bug Issue pertains to something wrong within Hyper labels Jan 15, 2017
@AlanPBourke
Copy link
Author

Hyperline and Hyperblue.

@chabou
Copy link
Collaborator

chabou commented Jan 16, 2017

Hyperline is not compatible with Windows. Remove it :)

@gluons
Copy link

gluons commented Jan 25, 2017

Same issue. I've added hyper-snazzy theme in plugins in ~/.hyper.js but I see nothing in .hyper_plugins folder (have only package.json file).

I've tried other themes but none of them work.

Hyper 1.1.0
Electron 1.4.7
win32 x64 10.0.14393
Node v6.9.2
NPM 3.10.10

@belthesar
Copy link

belthesar commented Feb 2, 2017

EDIT: This appears to be related to me changing my shell to something other than Windows default (cmd). Appears to be that NPM is being called using the shell variable with some hard coded hacks to use arguments designed for cmd to launch NPM. I'll look for an existing ticket and if not, open one.

I get this when trying to add a plugin to Hyper 1.1.0. Captured by running the Hyper binary in a Command Prompt.

Error: Command failed: npm prune && npm install --production
/bin/bash: /s: No such file or directory

    at ChildProcess.exithandler (child_process.js:218:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
[Notification] Error updating plugins.: Check `~/.hyper_plugins/npm-debug.log` for more information.

Hyper: 1.1.0 on Windows 10 15014

@gluons
Copy link

gluons commented Feb 3, 2017

@belthesar Oh! Thanks.
Now I understand why it doesn't work. I'm using PowerShell as my shell.

@SpencerLynn
Copy link

+1 I'm also using PowerShell and am having issues with plugins installing when I add them. I'm having to manually go to the ~/.hyper_plugins folder and run npm install. Even occasionally having to manually add the plugin to the package.json file in that directory.

@t56k
Copy link

t56k commented Jun 6, 2017

I'm on macOS and I had to go to /.hyper_plugins and run npm -g install to get my plugins installed. I reckon it's owning to the fact that I use non-system (i.e., nvm-managed Node).

@chabou
Copy link
Collaborator

chabou commented Jun 7, 2017

@cd-rum what is your npm version ? We have some compatibilty issues with npm@5 (fixed in master)

@t56k
Copy link

t56k commented Jun 7, 2017

@chabou That could be it, too. Using 5.0.3.

@chabou chabou changed the title Plugins not loading. Plugins not loading using PowerShell Jun 7, 2017
@F21
Copy link

F21 commented Jun 17, 2017

I am also seeing this problem, but I am using cmd instead of powershell on Windows 10 64-bit with latest updates. Hyper is 1.3.3 and Node is 8.1.2. I've tried installing things through hpm, and it successfully reloads, but the plugin fails to load.

Things I tried to install:

@Stanzilla Stanzilla mentioned this issue Jan 23, 2018
8 tasks
@albinekb
Copy link
Contributor

Fixed in v2, now we have built in yarn and you do not need anything else than hyper to install plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖼 Platform: Windows Issue pertains to Windows 🐛 Type: Bug Issue pertains to something wrong within Hyper
Projects
None yet
Development

No branches or pull requests

10 participants