Plugins not installing
Plugins won't install for me at this point.
Console log from fresh open:
(re)loading renderer plugins
Error: Cannot find module '/Users/tierney/.hyperterm_plugins/node_modules/hyperpower'
at Module._resolveFilename (module.js:438:15)
at Function.Module._resolveFilename (/Applications/HyperTerm.app/Contents/Resources/electron.asar/common/reset-search-paths.js:47:12)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:10828
at Array.map (native)
at P (file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:10779)
at Object.<anonymous> (file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:11881)
at __webpack_require__ (file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:119)
[Notification] Plugin load error: "hyperpower" failed to load in the renderer process. Check Developer Tools for details.
total init time 173.95
Unimplemented DEC Private Mode: 1034
The new version got released a few hours ago. Please try that one.
Same here, just installed it Version 0.6.0 (0.6.0):
bundle.js:1 Error: Cannot find module '/Users/najewicc/.hyperterm_plugins/node_modules/hyperterm-snazzy'
at Module._resolveFilename (module.js:438:15)
at Function.Module._resolveFilename (/Applications/HyperTerm.app/Contents/Resources/electron.asar/common/reset-search-paths.js:47:12)
at Function.Module._load (module.js:386:25)
at Module.require (module.js:466:17)
at require (internal/module.js:20:19)
at file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:10828
at Array.map (native)
at P (file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:10779)
at Object.<anonymous> (file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:11881)
at __webpack_require__ (file:///Applications/HyperTerm.app/Contents/Resources/app/build/dist/bundle.js:1:119)(anonymous function) @ bundle.js:1
bundle.js:5 [Notification] Plugin load error: "hyperterm-snazzy" failed to load in the renderer process. Check Developer Tools for details
ROSELCDV0001SSU% cat ~/.hyperterm_plugins/package.json
{
"name": "hyperterm-plugins",
"description": "Auto-generated from `~/.hyperterm.js`!",
"private": true,
"version": "0.0.1",
"repository": "zeit/hyperterm",
"license": "MIT",
"homepage": "https://hyperterm.org",
"dependencies": {}
}
I deleted ~/.hyperterm-plugins and restarted a few times and things started working, FWIW.
The update only gets triggered on json config change and every 5 hours. Maybe we can save the notifications somewhere in a log. Then you'll see when something went wrong.
When I opened this morning, it didn't work - opened again a bit later, the same. Opened a third time, and my plugins suddenly loaded. So, working it seems.
@marcbachmann , I guess that's why I am confused - I updated my ~/.hyperterm.js, added some plugins to the list, saved, and the package.json had 0 dependencies. Seems like a bug ❓
I'm having an even more annoying problem:
- I do a fresh install of Hyperterm. Everything works.
- I edit the config file to add the
hyperpowerplugin, and get the notification saying plugins are being updated. - I wait for a really long time and nothing happens.
- I trigger a reload and get the error above.
- If I trigger a full-reload or close and open the app, it freezer and stop responding. What's worse, the shell stops working even in Terminal. This is only fixed by a system restart.
If I go into the .hyperpower_plugins folder and npm i -S hyperpower, it actually starts working. So it seems like a problem with permissions. That said, the app still doesn't respond.
Update:
I had this in my bash profile:
zsh
this was pointing to /user/local/bin/zsh
Instead, I just pointed the shell in the config to /bin/zsh which is the zsh that comes pre-installed on the mac. That solved everything. Not sure exactly what the problem was. But, it's fixed for me now.
@nmn Had to re-install because I had switched to zsh. Seems we need zsh setup and troubleshot instructions.
I'm using zsh and get into this too, package.json is not updated.
In hyperterm.js, set shell to '/bin/zsh' solve it ,thanks @nmn !
I'm using Hyper 1.0.0 (64-bit) on Windows 10. I'm having issues getting plugins to install, too.
Earlier, I was able to get my packages to install by deleting the node_modules folder and the package.json file and relaunching Hyper. Today, I tried to install a new plugin by just adding it to the plugins array in the configuration file, but it didn't work. I tried my trick from last time, but that didn't work either. Instead, I used Hyper to run npm install in the .hyper_plugins folder, relaunched Hyper, and the plugins work just fine.
Ran in to this when I modified shell prior to installing plugins. Plugins installed normally when launching Hyper with the default shell path, then I was free to change the shell path back.
Can confirm that this is happening with windows 10, hyper 1.1.0
Getting this as well. Windows 10, hyper 1.1.0, using powershell as the default shell.
Nothing getting written to package.json when enabled from my ~/.hyper.js file and nothing in the node_modules folder.
After wiping package.json and node_modules and enabling a plugin as suggested, the files get recreated and it started working, then stopped.
I'm having this problem too. Deleting the .hyper_plugins folder doesn't fix it.
Update with more info:
- Version 1.2.1
- macOS 10.12.3
Still happening on Windows 10, hyper 1.2.1
happening here as well.. Tried using bash.exe and cmd.exe. It tells me to check the logs but they don't exist
+1
After adding plugin to plugins array, I've noticed that they do get added to package.json, but not getting installed.
+1
I'm experiencing this issue as well...
macOS 10.12 hyper 1.2.1
macOS 10.12 hyper 1.2.1
Same problem