WSL and NPM: npm ERR! Error: EACCES: permission denied

Have you tried installing an NPM package and have been presented with errors similar to “npm ERR! Error: EACCES: permission denied”?
Chances are likely that you are using WSL (Windows Subsystem for Linux) and issuing commands from within VSCode terminal emulator.

Sadly, I will be unable to give you instructions on how to fix this. However, it seems to only occur whilst using the VSCode Terminal connected to a WSL.

To get around this, I have found that closing VSCode (all VSCode instances that are connected to the WSL) and issuing the command through the “app” terminal instead. You should now be able to install as normal!

Ryzen Master causing instability

Through some rigorous troubleshooting steps on a Ryzen 1700x recently, I have discovered that Ryzen Master was the cause of instability.

I am unable to rule out the suggestion that RAM compatibility might be part of the issue, however many symptoms have been fixed after removing Ryzen Master from the system.


  • Stuttering/Choppiness during games
  • Random FPS drops during games
  • Crashes during games
  • General instability

RM was installed on the system as a tool to monitor temps and voltages and was not intended to overclock. Having a search around, I read that Ryzen Master (once installed) uses a “default” profile. The default profile apparently comes with an overclock (which I was unaware of)

After removing Ryzen Master from the system, games instantly ran as expected. CS:GO no longer randomly stutters or freezes. Overwatch is as smooth as silk.

I would actually go as far as to recommend not using Ryzen Master for anything. At all. Seriously..

Further Reading

I read a somewhere that Ryzen Master was used to overclock the CPU. The issue arose when they tried to reverse the overclock. RM apparently overrides BIOS settings so resetting the BIOS is futile.

After removing Ryzen Master from Windows, they found that the overclock was still active. Flashing the BIOS still didn’t help. The solution was to reinstall Windows as Ryzen Master settings (somewhere) were still changing BIOS settings when Windows has been booted.

Sure, this part of my post is heresay, however after learning of this experience and solving my own issue, I will be sure not to install RM again (even of it is purely for monitoring purposes). If you plan to overclock, go old school!

C type sizes

signed int4-21474836482147483647
unsigned int404294967295
signed char1-128127
unsigned char10255
signed short int2-3276832767
unsigned short int2065535
signed long int8-92233720368547758089223372036854775807
unsigned long int8018446744073709551615

Add a “New file” to the Windows 10 Context Menu

Have you ever thought that life would be made easier and more productive if you had a quick way of creating a file at your fingertips?

Windows has always been very picky about file extensions, and non-standard Microsoft file types can be a pain to create quickly, but there’s a neat trick to add these to the “New” menu.

First you need to open up the Windows Registry Editor application and expand HKEY_CLASSES_ROOT

Within this list, you will need to search for your desired file extension.

In my case, I want to add Python files to the Context Menu. I will need to find a folder in this list named .py as this is the file extension used for python files.

Similarly, if you wanted to quickly create a new html file, you would look for .html

You will need to add a new Key named : ShellNew.
Right click on your desired file extension and click New -> Key.
Name it : ShellNew

You should now see a new “Folder” called ShellNew:

The last step will be to add a new String Value to the ShellNew key, named NullFile.
Right Click on ShellNew : New -> String Value

Name this : NullFile.
Your Registry Editor should now look something like this:

You can now check your Context Menu to see if your changes worked!

Enjoy your productivity!

Lenovo 530S ARR – Slow Reboot/Shutdown

Since Demember 2018, I have been experiencing long reboots and shutdown times. Alot of people have pointed out that the Reaktek drivers might be to blame for this issue. Uninstalling the latest driver and using an older version does seem to “fix” the issue out (until Windows update decides to install the latest drivers again)

I decided to try my luck again and try and fix this problem, and I found the solution.

There wasn’t a newer Realtek driver available so I decided to update my Ryzen 5 Mobile Graphics drivers. The Graphics driver didn’t seem to fix the problem, so I moved on to the Ryzen Mobile chipset drivers.

After a quick reboot, it seemed to have fixed the issue!