Short solutions of 2018

Back to Blog

In this section I will collect short things that have taken me some time to figure out. The intent is that I would be able to avoid wasting time in the future after I have forgotten about them.

Snap packages under WSL

05.10.2018

Problem

You want to install a snap package under Windows Subsystem for Linux.

Solution

That doesn’t seem to be possible at the moment.

Mercurial won’t push under SSH

04.10.2018

Problem

When pushing in Mercurial under SSH, it says that TortoisePlink.exe is not found, although TortoiseHG is installed.

Solution

TortoiseHG installation has changed so that the TortoisePlink.exe is located under the \lib directory of TortoiseHG installation directory. Add that subdirectory to Windows’ path.

SSH keys for GitHub

04.10.2018

Problem

You want to use SSH keys with GitHub under Windows.

Solution

npm install packages missing

08.02.2018

Problem

You run npm install, but packages that are listed in package.json are not installed, despite there being no errors.

Solution

Usually npm update helps.

Problems with npm

11.01.2018

Problem

Running npm install produces an error npm ERR! Cannot read property 'find' of undefined.

Solution

Usually npm cache verify helps. If not, rm package-lock.json. If that does not help either, remove node_modules.