From f5e486446eece3e6dc450abc332dacc8d1190428 Mon Sep 17 00:00:00 2001 From: Rich Churcher Date: Thu, 9 Feb 2017 15:24:49 +1300 Subject: [PATCH] Mention npm upgrade --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8d5a7b92..7e6e2862 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,12 @@ At the moment Windows only supports dynamic linking so you must have the `libsod as `sodium.node`. This is done automatically by the install script, but if you move things around manually please don't forget to copy the DLL file as well. +If you experience difficulty with the install even with a correctly set `msvs_version`, it may be worth trying: + + npm install npm -g + +to upgrade npm and its bundled version of node-gyp. + # Manual Build Node Sodium includes the source of libsodium, so the normal install will try to compile libsodium directly from source, using libsodium's own build tools.