Hyper: Hyper install error

Created on 17 Jan 2019  路  5Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate

Issue

Fresh installed hyper from the .deb file and i'm able to run and change default configs, but trying to run something like hyper i hypercwd throws some error.

```$ hyper i hypercwd
/opt/Hyper/resources/bin/cli.js:19146
getPlugins = memoize(() => getProperties().find((a) => 'plugins' === a.key.name).value.elements),
^

TypeError: Cannot read property 'value' of undefined
at memoize (/opt/Hyper/resources/bin/cli.js:19146:87)
at d (/opt/Hyper/resources/bin/cli.js:19130:22)
at Object.install (/opt/Hyper/resources/bin/cli.js:19176:37)
at Args.args.command (/opt/Hyper/resources/bin/cli.js:9934:45)
at Args.runCommand (/opt/Hyper/resources/bin/cli.js:11318:37)
at Args.module.exports [as parse] (/opt/Hyper/resources/bin/cli.js:15089:10)
at main (/opt/Hyper/resources/bin/cli.js:9991:18)
at Object.module.exports.name (/opt/Hyper/resources/bin/cli.js:10038:1)
at __webpack_require__ (/opt/Hyper/resources/bin/cli.js:20:30)
at Ap (/opt/Hyper/resources/bin/cli.js:63:18)```

鈱笍 CLI tool

Most helpful comment

Hi! Did you manually add hypercwd into localPlugins in your .hyper.js? When you run hyper i hypercwd this plugin should be added into plugins array like this:

plugins: [
  // some plugins
  'hypercwd'
]

I guess that this was not your intention.

Please pop hypercwd from localPlugins to be an empty array and try run hyper i hypercwd once again.

All 5 comments

Same here and I'm using Mac.

Hi! Did you manually add hypercwd into localPlugins in your .hyper.js? When you run hyper i hypercwd this plugin should be added into plugins array like this:

plugins: [
  // some plugins
  'hypercwd'
]

I guess that this was not your intention.

Please pop hypercwd from localPlugins to be an empty array and try run hyper i hypercwd once again.

Oops, my bad. After tying to install it via the command I was trying to add it manually and forgot to remove it

I'm glad I could help anyway :)

Reinstalled to have the default config file, managed to successfully install plugins but found out that something else. after some testing apparently i had removed the default plugins: [], array and that started throwing the error. Thanks for the help

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hxnt picture hxnt  路  3Comments

daenuprobst picture daenuprobst  路  3Comments

legomushroom picture legomushroom  路  3Comments

ConstantinChirila picture ConstantinChirila  路  3Comments

ghost picture ghost  路  3Comments