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

Cannot read property 'properties' of undefined when try to install theme #3670

Closed
2 tasks done
amirmeimari opened this issue May 14, 2019 · 8 comments
Closed
2 tasks done
Assignees
Labels
⌨️ CLI tool Issue or PR related to CLI tool

Comments

@amirmeimari
Copy link

amirmeimari commented May 14, 2019

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

Issue

I'm using hyper with git bash. when i try to install any theme, i get this error

C:\Users\amirm\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:19153
      getProperties = memoize(() => getParsedFile().program.body[0].expression.right.properties),

TypeError: Cannot read property 'properties' of undefined

what should i do?

Annotation 2019-05-14 231447

@inbredtom
Copy link

I also have this issue with hyper-spotify, hyper-opacity

@colepeters
Copy link
Contributor

Same issue here on macOS, FWIW.

@amirmeimari
Copy link
Author

amirmeimari commented Jul 3, 2019

I've fixed this issue in my windows machine. Somehow i accidentally deleted my npm path in Environment variables -> User variables -> path.
check user path for this: C:\Users\<yourComputeName>\AppData\Roaming\npm, if it's not exist, simply add it.

@colepeters
Copy link
Contributor

I'm still having this issue on macOS, specifically when trying to install xi-hyper. Any updates?

@Stanzilla Stanzilla added the ⌨️ CLI tool Issue or PR related to CLI tool label Oct 10, 2019
@vannaka vannaka mentioned this issue Oct 15, 2019
2 tasks
@vivekrp
Copy link

vivekrp commented Oct 15, 2019

Any temporary fix for this? I tried a few things but doesn't work, also it's not only hyper install doesn't but plugins don't work at all even after adding to .hyper.js.

@colepeters
Copy link
Contributor

I've tried everything recommended in similar issues — deleting my hyper config, deleting /usr/local/bin/hyper, then doing a complete reinstall, using the default hyper config… nothing has worked for me so far. Has anyone managed to resolve this? Even running hyper list results in the same error.

Specs:

Hyper: 3.0.2
macOS 10.15.3

@colepeters
Copy link
Contributor

For what it's worth, I've just tried canary 4 for 3.1.0 and this seems to be resolved. However, I noticed when trying to install a plugin, I got a warning that the config file wasn't available:

image

I realized the path for this config file (~/.config/hyper/.hyper.js) is different from what I'm used to, that being ~/.hyper.js.

It was about this time that I noticed the documentation on the Hyper website lists a totally different config location for the current version of Hyper on Mac:

image

The thing is, at least for Hyper 3.0.2, it seems to automatically create ~/.hyper.js if it's not already present — and if you remove ~/hyper.js, it just creates another one. I tried also creating a config file in the specified ~/Library/Application Support/Hyper/.hyper.js, but this didn't seem to help.

So now I'm all kinds of extra confused 😅

@LabhanshAgrawal
Copy link
Collaborator

Duplicate of #3500
Fixed in #4086
@colepeters your issue seems different, can you open a new issue for it, if it's still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌨️ CLI tool Issue or PR related to CLI tool
Projects
None yet
Development

No branches or pull requests

7 participants