Closed archenroot closed 6 years ago
After I added react latest version available into "dependencies" block I got another error:
zangetsu@localhost ~/.hyper_plugins/local/hyperline $ hyper
Gtk-Message: Failed to load module "canberra-gtk-module"
{ Error: Cannot find module 'hyper/component'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/opt/Hyper/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:79:18)
at __webpack_require__ (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:20:30)
at Object.<anonymous> (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:151:74)
at __webpack_require__ (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:20:30)
at Object.<anonymous> (/home/zangetsu/.hyper_plugins/local/hyperline/dist/hyperline.js:1336:78) code: 'MODULE_NOT_FOUND' }
[Notification] Plugin error!: Plugin "hyperline" failed to load (Cannot find module 'hyper/component')
running in prod mode
electron will open file:///opt/Hyper/resources/app.asar/index.html
[Notification] Plugin error!: Plugin "hyperline" failed to load (Cannot find module 'hyper/component')
Checking for notification messages
ignoring auto updates during dev
No matching notification messages
I am on branch hyper-2.0.4,maybe I should install latest dev branch.
NOTE: In both cases reporting error the plugin works and shows and updates values.
Looks like it isn't a dependency in package.json https://github.com/Hyperline/hyperline/blob/48381dd6f906599b8ad083d55bb04622127b963c/package.json#L28
Using version "0.6.1" fixed Hyperline for me. Use hyperline#0.6.1
instead of hyperline
in your plugins list.
Same issue here
@mloberg's suggestion works, but then the prompt is missing.
Update: After specifying the shell in ~/.hyper.js and closing and reopening Hyper a couple of times, the prompt is back.
I was experiencing the same problem. After forcing hyperline version 0.6.1, things started working again. If it doesn't immediately work, make sure you delete the .hyper_plugins directory and do a full reload of the plugins from within hyper.
+1
Same issue here!
Still broken for me too, adding #0.6.1 resolves for now...
facing same issue!
The issue still exists, how come it's closed? Falling back to previous version seems not the best solution. Some features are missing in 0.6.1 e.g. Spotify plugin