question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Install Plugins/Themes with CLI

See original GitHub issue
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS Sierra 10.12.6
  • Hyper.app version: 2.0.0
  • Link of a Gist with the contents of your .hyper.js: .hyper.js
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
  • The issue is reproducible in vanilla Hyper.app: Yes, this is an issue with the CLI.

Issue

Whenever I try to install anything with $ hyper install I get the following error:

unable to verify the first certificate
Plugin check failed. Check your internet connection or retry later.

I am using a school computer behind a firewall, and in the past, I have had the same problems with npm and apm. With those two cases, I was able to fix the issue by running [cmd] config set strict-ssl false, but there is no way of doing this with hyper.

I created this same issue in hpm, back when that was relevant, but never got a response.

Update

I now use NODE_EXTRA_CA_CERTS (yay), but Hyper doesn’t honour this, as @jerquiaga points out.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:24 (4 by maintainers)

github_iconTop GitHub Comments

10reactions
albinekbcommented, Apr 18, 2018

We’re using a rebuilt version of yarn to install plugins.

I don’t think there’s enough demand for such a setting that it would be worth adding and maintaining.

There is a workaround:

  1. Add plugin to ~/.hyper.js
  2. Open terminal and cd ~/.hyper_plugins/
  3. Install via your low security npm npm install
  4. Plugins should work

Hope that helps 👍

Also sounds like your school is intercepting your traffic via a custom SSL cert, I would try everything to get around that, they are decrypting your traffic and can get all your passwords and everything you send on the webs…

4reactions
ghostcommented, Apr 24, 2018

Sure disabling is not a good idea. Introducing the functionality to add a custom CA would be the preferred way. However, how does a VPN solves the problem? I assume most people using hyper are devs or other IT guys working in a Company with a certain policy which are most likely neither allowed to build a vpn outside the company network, nor wiling to do such an affort for a “plugin”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Install Plugins/Themes with CLI · Issue #2863 - GitHub
Whenever I try to install anything with $ hyper install I get the following error: unable to verify the first certificate Plugin check...
Read more >
WP-CLI error installing plugins/themes. "Could not create ...
I found an answer here to make it work on my local MBP OSX Server. Add define('FS_METHOD','direct'); to wp-config.php .
Read more >
Install Plugins and Themes with WP-CLI - Pantheon.io
This section provides information on how to install WordPress plugins and themes with WP-CLI and Terminus. Install WordPress Plugins.
Read more >
How to install WP-CLI on Windows - Deluxe Blog Tips
WP-CLI is an awesome command line tool for WordPress. It has a lot of commands that can help us installing plugins/themes, add posts, ......
Read more >
How to install and configure WP-CLI - Catalyst2
WP-CLI is a great framework for anyone familiar with the Linux command line. This article covers how to install and configure WP-CLI.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found