Flow "error" with objects on dashboard

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.

On the SQLite one:

pi@BeefPi:~/.node-red $ npm rebuild sqlite3

> sqlite3@3.1.13 install /home/pi/.node-red/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v57-linux-arm.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@8.12.0 (node-v57 ABI) (falling back to source compile with node-gyp) 
gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/pi/.node-red/node_modules/sqlite3/build'
gyp ERR! System Linux 4.14.71-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/pi/.node-red/node_modules/sqlite3/lib/binding/node-v57-linux-arm/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/home/pi/.node-red/node_modules/sqlite3/lib/binding/node-v57-linux-arm"
gyp ERR! cwd /home/pi/.node-red/node_modules/sqlite3
gyp ERR! node -v v8.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/.node-red/node_modules/sqlite3/lib/binding/node-v57-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/.node-red/node_modules/sqlite3/lib/binding/node-v57-linux-arm' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/pi/.node-red/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:915:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Linux 4.14.71-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/.node-red/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/.node-red/node_modules/sqlite3
node-pre-gyp ERR! node -v v8.12.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.38
node-pre-gyp ERR! not ok 
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/.node-red/node_modules/sqlite3/lib/binding/node-v57-linux-arm/node_sqlite3.node --module_name=node_sqlite3 --module_path=/home/pi/.node-red/node_modules/sqlite3/lib/binding/node-v57-linux-arm' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@3.1.13 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the sqlite3@3.1.13 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2018-11-13T10_12_49_386Z-debug.log
pi@BeefPi:~/.node-red $

Ok - this is progress!

It is likely you do not have the permissions to access this file as the current user

My guess is you've used sudo with the npm install ... command to install those modules, which means the pi user doesn't have permission to remove or update them.

Run sudo chown -R pi.pi /home/pi/.node-red/node_modules/ to fix all of the permissions. Then rerun the npm commands.

Results:

pi@BeefPi:~/.node-red $ sudo chown -R pi.pi /home/pi/.node-red/node_modules/
pi@BeefPi:~/.node-red $ npm remove node-red-contrib-filter-else
removed 1 package and audited 2559 packages in 30.442s
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 $ npm remove node-red-contrib-ui
audited 2559 packages in 26.543s
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 $ 

Rebooting machine now.

Shouldn't that be pi:pi?

As of now:
(2018 11 13 21:25)

All conflicts gone.

node-red-node-sqlite still problematic.

The command is taking a while so I shall leave it here for that.

Result from command:

pi@BeefPi:~/.node-red $ npm rebuild sqlite3

> sqlite3@3.1.13 install /home/pi/.node-red/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v57-linux-arm.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@8.12.0 (node-v57 ABI) (falling back to source compile with node-gyp) 
make: Entering directory '/home/pi/.node-red/node_modules/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3150000/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3150000/sqlite3.o
  AR(target) Release/obj.target/deps/sqlite3.a
  COPY Release/sqlite3.a
  CXX(target) Release/obj.target/node_sqlite3/src/database.o
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)’:
../src/database.cc:144:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)’:
../src/database.cc:230:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)’:
../src/database.cc:525:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
../src/database.cc: In static member function ‘static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)’:
../src/database.cc:625:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
  CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o
  CXX(target) Release/obj.target/node_sqlite3/src/statement.o
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginPrepare(node_sqlite3::Database::Baton*)’:
../src/statement.cc:118:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),
         ^~~~~~
In file included from ../src/statement.cc:6:0:
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginBind(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^
../src/statement.cc:322:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Bind);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginGet(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^
../src/statement.cc:370:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Get);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginRun(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^
../src/statement.cc:438:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Run);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginAll(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^
../src/statement.cc:504:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(All);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginEach(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^
../src/statement.cc:601:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Each);
     ^~~~~~~~~~~~~~~
../src/statement.cc: In static member function ‘static void node_sqlite3::Statement::Work_BeginReset(node_sqlite3::Statement::Baton*)’:
../src/macros.h:125:9: warning: unused variable ‘status’ [-Wunused-variable]
     int status = uv_queue_work(uv_default_loop(),                              \
         ^
../src/statement.cc:724:5: note: in expansion of macro ‘STATEMENT_BEGIN’
     STATEMENT_BEGIN(Reset);
     ^~~~~~~~~~~~~~~
  SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node
  COPY Release/node_sqlite3.node
  COPY /home/pi/.node-red/node_modules/sqlite3/lib/binding/node-v57-linux-arm/node_sqlite3.node
  TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/home/pi/.node-red/node_modules/sqlite3/build'
sqlite3@3.1.13 /home/pi/.node-red/node_modules/sqlite3
pi@BeefPi:~/.node-red $

Not rebooting just yet as I have to edit/check the package.json file.

Result of package.json edit:

pi@BeefPi:~/.node-red $ cat package.json | less
pi@BeefPi:~/.node-red $ cat package.json | grep node-red-contrib-filter-else
pi@BeefPi:~/.node-red $ cat package.json | grep node-red-contrib-ui
pi@BeefPi:~/.node-red $ 

Machine rebooting.

Checked NR.

NO CONFLICTS!

Hurray.

Thats great.

The moral of this story - do not use sudo unless someone explicily says so.

Nick

1 Like

Thanks.

(Alas I am now going to have to ask about the credentials thingy)

What credentials thingy? I thought that was all settled?

Well, it is "settled" but the finer details are not clear.

I'll start a new thread.

Great perserveranced to get to that level and find a solution Nick !!

Based on using a lot of other support forums - i wonder if a small tool/script that we could provide to a user to run would be of benefit to gather all the support info thay would show us the info needed in a single file ?

Something like

  1. Listing file permissions in the subdirectories
  2. Grabbing a list of all nodes installed
  3. Grabbing settings.js and redacting the username/password combos
  4. Listing the node-red log entries,
  5. starting and stopping node-red and grabbing that output
  6. listing the location for Node-red, version, version of node.js etc etc

Any benefit in that do you thnk ?

Craig

1 Like