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:
node install from within .hyper_plugins does the same thing.Hyper 1.1.0
Electron 1.4.7
win32 x64 6.1.7601
Same issue with Win10. systeminformation appears to be the culprit for me:
npm ERR! notsup Unsupported platform for [email protected]: 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
@AlanPBourke @tehbilly which plugin(s) were you trying to install?
Hyperline and Hyperblue.
Hyperline is not compatible with Windows. Remove it :)
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
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
@belthesar Oh! Thanks.
Now I understand why it doesn't work. I'm using PowerShell as my shell.
+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.
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).
@cd-rum what is your npm version ? We have some compatibilty issues with npm@5 (fixed in master)
@chabou That could be it, too. Using 5.0.3.
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:
Fixed in v2, now we have built in yarn and you do not need anything else than hyper to install plugins.