This is what I get:
pi@BeefPi:~/.node-red $ npm remove node-red-contrib-filter-else
npm WARN deprecated nodemailer@1.11.0: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated mailparser@0.6.2: Mailparser versions older than v2.3.0 are deprecated
npm WARN deprecated formatio@1.1.1: This package is unmaintained. Use @sinonjs/formatio instead
npm WARN deprecated mailcomposer@2.1.0: This project is unmaintained
npm WARN deprecated mimelib@0.3.1: This project is unmaintained
npm WARN deprecated buildmail@2.0.0: This project is unmaintained
npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated hoek@0.9.1: The major version is no longer supported. Please update to 4.x or newer
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
npm WARN checkPermissions Missing write access to /home/pi/.node-red/node_modules/node-red-contrib-filter-else
npm ERR! path /home/pi/.node-red/node_modules/node-red-contrib-filter-else
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/pi/.node-red/node_modules/node-red-contrib-filter-else'
npm ERR! { Error: EACCES: permission denied, access '/home/pi/.node-red/node_modules/node-red-contrib-filter-else'
npm ERR! stack: 'Error: EACCES: permission denied, access \'/home/pi/.node-red/node_modules/node-red-contrib-filter-else\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/pi/.node-red/node_modules/node-red-contrib-filter-else' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-11-13T10_06_43_784Z-debug.log
pi@BeefPi:~/.node-red $ npm remove node-red-contrib-ui
npm WARN deprecated nodemailer@1.11.0: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated mailparser@0.6.2: Mailparser versions older than v2.3.0 are deprecated
npm WARN deprecated formatio@1.1.1: This package is unmaintained. Use @sinonjs/formatio instead
npm WARN deprecated mailcomposer@2.1.0: This project is unmaintained
npm WARN deprecated mimelib@0.3.1: This project is unmaintained
npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941
npm WARN deprecated buildmail@2.0.0: This project is unmaintained
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated hoek@0.9.1: The major version is no longer supported. Please update to 4.x or newer
npm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer
> serialport@4.0.7 install /home/pi/.node-red/node_modules/serialport
> node-pre-gyp install --fallback-to-build
node-pre-gyp info it worked if it ends with ok
node-pre-gyp verb cli [ '/usr/bin/node',
node-pre-gyp verb cli '/home/pi/.node-red/node_modules/serialport/node_modules/.bin/node-pre-gyp',
node-pre-gyp verb cli 'install',
node-pre-gyp verb cli '--fallback-to-build' ]
node-pre-gyp info using node-pre-gyp@0.6.32
node-pre-gyp info using node@8.12.0 | linux | arm
node-pre-gyp verb command install []
node-pre-gyp info check checked for "/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node" (not found)
node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz
node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@8.12.0 (node-v57 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz
node-pre-gyp verb command build [ 'rebuild' ]
make: Entering directory '/home/pi/.node-red/node_modules/serialport/build'
CXX(target) Release/obj.target/serialport/src/serialport.o
../src/serialport.cpp: In function ‘int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:90:52: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Local<v8::Object>, std::__cxx11::string)’:
../src/serialport.cpp:102:53: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return getValueFromObject(options, key)->ToNumber()->NumberValue();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9822:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
../src/serialport.cpp:174:31: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = argv[1]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:193:29: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp:217:116: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
baton->baudRate = Nan::Get(options, Nan::New<v8::String>("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:252:29: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:369:32: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
baton->fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:480:29: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:528:29: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:585:29: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
../src/serialport_unix.cpp: In function ‘OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Local<v8::Object>&)’:
../src/serialport_unix.cpp:44:109: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
result->vmin = Nan::Get(options, Nan::New<v8::String>("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport_unix.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/serialport_unix.cpp:45:111: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
result->vtime = Nan::Get(options, Nan::New<v8::String>("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/./serialport.h:7,
from ../src/serialport_unix.cpp:1:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
CXX(target) Release/obj.target/serialport/src/serialport_poller.o
../src/serialport_poller.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport_poller.cpp:86:31: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->fd_ = info[0]->ToInt32()->Int32Value();
^
In file included from /home/pi/.node-gyp/8.12.0/include/node/node.h:63:0,
from ../../nan/nan.h:49,
from ../src/serialport_poller.cpp:5:
/home/pi/.node-gyp/8.12.0/include/node/v8.h:9858:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
SOLINK_MODULE(target) Release/obj.target/serialport.node
COPY Release/serialport.node
make: Leaving directory '/home/pi/.node-red/node_modules/serialport/build'
node-pre-gyp info ok
added 149 packages from 92 contributors and audited 2560 packages in 206.883s
found 57 vulnerabilities (11 low, 40 moderate, 4 high, 2 critical)
run `npm audit fix` to fix them, or `npm audit` for details
pi@BeefPi:~/.node-red $
I'll stop here so as to not overwhelm you.