From 9804835e6522dbeb6db5631f7b7d57f1fb59d111 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 6 May 2017 21:25:58 +0300 Subject: [PATCH] Add npm cleanup --- Install-and-Update.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Install-and-Update.md b/Install-and-Update.md index d9a90cd..82db6e9 100644 --- a/Install-and-Update.md +++ b/Install-and-Update.md @@ -129,6 +129,10 @@ curl https://install.meteor.com/ | sh ### Install and Build Wekan ```bash +# If you get build errors, clean old node modules +sudo rm -rf /usr/local/lib/node_modules +sudo rm -rf ~/.npm + # Download Wekan git clone https://github.com/wekan/wekan cd wekan @@ -146,6 +150,7 @@ sudo npm -g install n sudo n 4.8.1 sudo npm -g install npm@latest sudo npm -g install node-gyp +sudo npm -g install node-pre-gyp sudo npm -g install fibers # install wekan npm dependancies