Can not install node-red-contrib-slack version 0.1.2

I have upgraded node-red on my raspberry pi using the following command:

bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)

but it had a problem (re)installing node-red-contrib-slack version 0.1.3) which makes sense as version 0.1.3 is not the latest official version (= 0.1.2) but a version that I have created ( = GitHub - janvda/node-red-slack: A node-red module to post to Slack.com)

So the following is seen in my node red log file:
> Welcome to Node-RED

===================
19 Aug 09:33:10 - [info] Node-RED version: v0.19.1
19 Aug 09:33:10 - [info] Node.js  version: v8.11.4
19 Aug 09:33:10 - [info] Linux 4.9.35-v7+ arm LE
19 Aug 09:33:11 - [info] Loading palette nodes
19 Aug 09:33:18 - [info] Dashboard version 2.9.1 started at /ui
19 Aug 09:33:19 - [warn] Missing node modules:
19 Aug 09:33:19 - [warn]  - node-red-contrib-slack (0.1.3): slack, Slack Bot In, Slack Bot Out
19 Aug 09:33:19 - [warn]  - node-red-contrib-jva-test (undefined): lower-case, jva-test
19 Aug 09:33:19 - [info] Removing modules from config
19 Aug 09:33:19 - [info] Settings file  : /home/pi/.node-red/settings.js
19 Aug 09:33:19 - [info] Context store  : 'default' [module=memory]
19 Aug 09:33:19 - [info] User directory : /home/pi/.node-red
19 Aug 09:33:19 - [info] Server now running at http://127.0.0.1:1880/
19 Aug 09:33:19 - [info] Active project : pi3three
19 Aug 09:33:19 - [info] Flows file     : /home/pi/.node-red/projects/pi3three/flows_pi3three.json
19 Aug 09:33:19 - [info] Waiting for missing types to be registered:
19 Aug 09:33:19 - [info]  - slack
19 Aug 09:33:19 - [info]  - Slack Bot In
19 Aug 09:33:19 - [info]  - Slack Bot Out

So I would like to (re)install the latest official version of node-red-contrib-slack version (= version 0.1.2). I have tried doing so form the node-red manage palette but this resulted in the following error message:

19 Aug 22:23:22 - [info] Installing module: node-red-contrib-slack, version: 0.1.2
19 Aug 22:23:43 - [warn] Installation of module node-red-contrib-slack failed:
19 Aug 22:23:43 - [warn] ------------------------------------------
19 Aug 22:23:43 - [warn] npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/node-red-contrib-slack
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
npm ERR! path /home/pi/.node-red/node_modules/node-red-contrib-slack
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access '/home/pi/.node-red/node_modules/node-red-contrib-slack'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-08-19T20_23_43_765Z-debug.log
19 Aug 22:23:43 - [warn] ------------------------------------------

So how can I resolve this issue ?

I found the reason why installing node-red-contrib-slack failed.
Apparently the folder node-red-contrib-slack/ was a symbolic link to a non-existing folder (see evidence below)
I fixed this by deleting the folder node-red-contrib-slack/ (see also below) and then reinstalling it through manage palette.

pi@pi3three:~/.node-red/node_modules $ ls -l node-red-contrib-slack
lrwxrwxrwx 1 pi pi 55 Mar 11 15:26 node-red-contrib-slack -> ../../../../usr/lib/node_modules/node-red-contrib-slack
pi@pi3three:~/.node-red/node_modules $ cd node-red-contrib-slack
-bash: cd: node-red-contrib-slack: No such file or directory
pi@pi3three:~/.node-red/node_modules $ rm node-red-contrib-slack
pi@pi3three:~/.node-red/node_modules $ cd node-red-contrib-slack
-bash: cd: node-red-contrib-slack: No such file or directory