Node Red Not working ! Nodes not installing!

HI Guys,

I am stuck with an issue for more than 3 days now, with little to no sleep with Ondes that don't want to install or to work with errors.

Please NOTE: this is not the first time that I attempt to install nodes on node-red, but with this specific time, few of the nodes I attempt to install seems not to work . all give errors and don't appear in the toolbar and I just about to break things this side !!

Can some please assist me in informing me of what I am doing wrong or missing !!

Hardware - Raspi Zero w
OS - Rasbian OS full
Node-red - version 1.0.6

node attempting to install with issues :
//node-red-node-sqlite -- waited 25 min / 15 times/ nothing !! rebuild NPM ...nothing : * [object Object]
//node-red-contrib-oled -- Noting happened /
//node-red-contrib-nfc -- * Error: EACCES: permission denied, open '/dev/mem' (line:24)

Please help

Hi,
a) which version of node.js ? what does node -v report ?
b) what do the logs say if you try to install manually ?

cd ~/.node-red
npm i node-red-node-sqlite

and likewise for the others ?
Though the /dev/mem one most likely means that the node is question probably needs root access - which is indeed what its README says...

HI @dceejay,

thanks for the fast response

V .10.19.0

@dceejay

No Idee , its still hanging for 2 hours now ( 15th attemp ) to install as README instructed
//npm install node-red-node-sqlite
//npm rebuild sqlite3

the current status :

pi@raspberrypi:~/.node-red $ npm rebuild sqlite3
npm WARN npm npm does not support Node.js v10.19.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8,                                                        9.
npm WARN npm You can find the latest version at https://nodejs.org/

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

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaw                                                       s.com/sqlite3/v4.1.1/node-v64-linux-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@4.1.1 and node@10.19.                                                       0 (node-v64 ABI, glibc) (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-3300100/sqlite3.c
  TOUCH Release/obj.target/deps/action_before_build.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3300100/sqlite3.o
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘strftimeFunc’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:22212:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
                       z==zBuf ? SQLITE_TRANSIENT : SQLITE_DYNAMIC);
                                                    ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3ErrorWithMsg’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:30555:54: note: in expansion of macro ‘SQLITE_DYNAMIC’
     sqlite3ValueSetStr(db->pErr, -1, z, SQLITE_UTF8, SQLITE_DYNAMIC);
                                                      ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeMemSetStr’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:75784:15: note: in expansion of macro ‘SQLITE_DYNAMIC’
     if( xDel==SQLITE_DYNAMIC ){
               ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘valueFromExpr’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76190:55: note: in expansion of macro ‘SQLITE_DYNAMIC’
       sqlite3ValueSetStr(pVal, -1, zVal, SQLITE_UTF8, SQLITE_DYNAMIC);
                                                       ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:76238:29: note: in expansion of macro ‘SQLITE_DYNAMIC’
                          0, SQLITE_DYNAMIC);
                             ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:91559:38: warning: cast between incompatible function types from ‘int (*)(u32,  void *, void *, void *)’ {aka ‘int (*)(unsigned int,  void *, void *, void *)’} to ‘void (*)(void *, const char *)’ [-Wcast-function-type]
       void (*x)(void*,const char*) = (void(*)(void*,const char*))db->xTrace;
                                      ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘printfFunc’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:114219:25: note: in expansion of macro ‘SQLITE_DYNAMIC’
                         SQLITE_DYNAMIC);
                         ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘generateColumnNames’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127513:58: note: in expansion of macro ‘SQLITE_DYNAMIC’
         sqlite3VdbeSetColName(v, i, COLNAME_NAME, zName, SQLITE_DYNAMIC);
                                                          ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:14234:27: warning: cast between incompatible function types from ‘int (*)(void *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
 #define SQLITE_DYNAMIC   ((sqlite3_destructor_type)sqlite3MallocSize)
                           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:127520:52: note: in expansion of macro ‘SQLITE_DYNAMIC’
       sqlite3VdbeSetColName(v, i, COLNAME_NAME, z, SQLITE_DYNAMIC);
                                                    ^~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3InvokeBusyHandler’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157821:12: warning: cast between incompatible function types from ‘int (*)(void *, int)’ to ‘int (*)(void *, int,  sqlite3_file *)’ {aka ‘int (*)(void *, int,  struct sqlite3_file *)’} [-Wcast-function-type]
     xTra = (int(*)(void*,int,sqlite3_file*))p->xBusyHandler;
            ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3_busy_timeout’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:157899:30: warning: cast between incompatible function types from ‘int (*)(void *, int,  sqlite3_file *)’ {aka ‘int (*)(void *, int,  struct sqlite3_file *)’} to ‘int (*)(void *, int)’ [-Wcast-function-type]
     sqlite3_busy_handler(db, (int(*)(void*,int))sqliteDefaultBusyCallback,
                              ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3_trace’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:158242:16: warning: cast between incompatible function types from ‘void (*)(void *, const char *)’ to ‘int (*)(u32,  void *, void *, void *)’ {aka ‘int (*)(unsigned int,  void *, void *, void *)’} [-Wcast-function-type]
   db->xTrace = (int(*)(u32,void*,void*,void*))xTrace;
                ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3_db_status’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:21035:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
       op = SQLITE_DBSTATUS_CACHE_WRITE+1;
       ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:21037:5: note: here
     case SQLITE_DBSTATUS_CACHE_HIT:
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3_str_vappendf’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:27799:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
         flag_long = sizeof(char*)==sizeof(i64) ? 2 :
         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      sizeof(char*)==sizeof(long int) ? 1 : 0;
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:27802:7: note: here
       case etORDINAL:
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:27804:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
         cThousand = 0;
         ~~~~~~~~~~^~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:27806:7: note: here
       case etDECIMAL:
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3GetToken’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:155400:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( !sqlite3Isdigit(z[1]) )
         ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:155409:5: note: here
     case CC_DIGIT: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:155499:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( z[1]=='\'' ){
         ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:155513:5: note: here
     case CC_ID: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3ExprCodeTarget’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:101035:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case TK_AGG_COLUMN: {
                         ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:101048:5: note: here
     case TK_COLUMN: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘resolveP2Values’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:77303:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
           if( pOp->p2!=0 ) p->readOnly = 0;
             ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:77306:9: note: here
         case OP_AutoCommit:
         ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:77344:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
         case OP_VFilter: {
                          ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:77353:9: note: here
         default: {
         ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘resolveExprStep’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:96674:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case TK_ISNOT: {
                    ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:96690:5: note: here
     case TK_BETWEEN:
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘impliesNotNullRow’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:102715:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( (pExpr->pLeft->op==TK_COLUMN && IsVirtual(pExpr->pLeft->y.pTab))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        || (pExpr->pRight->op==TK_COLUMN && IsVirtual(pExpr->pRight->y.pTab))
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:102720:5: note: here
     default:
     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘exprImpliesNotNull’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:102582:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( exprImpliesNotNull(pParse, p->pRight, pNN, iTab, seenNot) ) return 1;
         ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:102585:5: note: here
     case TK_SPAN:
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘fkActionTrigger’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:117309:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
         if( !pChanges ){
           ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:117313:7: note: here
       default:
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3GenerateConstraintChecks’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:118782:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
         onError = OE_Abort;
                 ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:118786:7: note: here
       case OE_Abort:
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:118944:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
         onError = OE_Abort;
                 ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:118947:7: note: here
       case OE_Rollback:
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:119007:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, 0, iDataCur);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:119011:7: note: here
       case OE_Ignore: {
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:119223:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         sqlite3UpsertDoUpdate(pParse, pUpsert, pTab, pIdx, iIdxCur+ix);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:119227:7: note: here
       case OE_Ignore: {
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘sqlite3VdbeExec’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:84944:5: warning: this statement may fall through [-Wimplicit-fallthrough=]
   if( (pIn3->flags & MEM_Null)==0 ) break;
     ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:84978:1: note: here
 case OP_Halt: {
 ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:85113:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
   pOp->opcode = OP_String;
               ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:85130:1: note: here
 case OP_String: {          /* out2 */
 ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:88339:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
 case OP_IfNoHope: {     /* jump, in3 */
                   ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:88347:1: note: here
 case OP_NoConflict:     /* jump, in3 */
 ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:89268:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
   p->aCounter[SQLITE_STMTSTATUS_SORT]++;
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:89283:1: note: here
 case OP_Rewind: {        /* jump */
 ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:90580:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
   pOp->opcode = OP_AggStep1;
               ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:90583:1: note: here
 case OP_AggStep1: {
 ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:91452:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
   pOp->opcode += 2;
   ~~~~~~~~~~~~^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:91455:1: note: here
 case OP_PureFunc:              /* group */
 ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘fts3SnippetFunc’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165599:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 6: nToken = sqlite3_value_int(apVal[5]);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165600:5: note: here
     case 5: iCol = sqlite3_value_int(apVal[4]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165600:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 5: iCol = sqlite3_value_int(apVal[4]);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165601:5: note: here
     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165601:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 4: zEllipsis = (const char*)sqlite3_value_text(apVal[3]);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165602:5: note: here
     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165602:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
     case 3: zEnd = (const char*)sqlite3_value_text(apVal[2]);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165603:5: note: here
     case 2: zStart = (const char*)sqlite3_value_text(apVal[1]);
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘fts3ColumnMethod’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165356:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
         iCol = p->nColumn;
         ~~~~~^~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:165360:5: note: here
     default:
     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘cellArea’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184885:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 5:  area  = p->aCoord[9].f - p->aCoord[8].f;
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184886:7: note: here
       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184886:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 4:  area *= p->aCoord[7].f - p->aCoord[6].f;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184887:7: note: here
       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184887:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 3:  area *= p->aCoord[5].f - p->aCoord[4].f;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184888:7: note: here
       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184888:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 2:  area *= p->aCoord[3].f - p->aCoord[2].f;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184889:7: note: here
       default: area *= p->aCoord[1].f - p->aCoord[0].f;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184895:22: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 5:  area  = (i64)p->aCoord[9].i - (i64)p->aCoord[8].i;
                ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184896:7: note: here
       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184896:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 4:  area *= (i64)p->aCoord[7].i - (i64)p->aCoord[6].i;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184897:7: note: here
       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184897:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 3:  area *= (i64)p->aCoord[5].i - (i64)p->aCoord[4].i;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184898:7: note: here
       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184898:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
       case 2:  area *= (i64)p->aCoord[3].i - (i64)p->aCoord[2].i;
                ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184899:7: note: here
       default: area *= (i64)p->aCoord[1].i - (i64)p->aCoord[0].i;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘rtreeCallbackConstraint’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184056:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+32, &c); aCoord[8] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184057:7: note: here
       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184058:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+24, &c); aCoord[6] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184059:7: note: here
       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184060:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+16, &c); aCoord[4] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184061:7: note: here
       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.f;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184062:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+8,  &c); aCoord[2] = c.f;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184063:7: note: here
       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.f;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184071:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+32, &c); aCoord[8] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184072:7: note: here
       case 8:   readCoord(pCellData+28, &c); aCoord[7] = c.i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184073:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+24, &c); aCoord[6] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184074:7: note: here
       case 6:   readCoord(pCellData+20, &c); aCoord[5] = c.i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184075:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+16, &c); aCoord[4] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184076:7: note: here
       case 4:   readCoord(pCellData+12, &c); aCoord[3] = c.i;
       ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184077:56: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 readCoord(pCellData+8,  &c); aCoord[2] = c.i;
                                              ~~~~~~~~~~^~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184078:7: note: here
       default:  readCoord(pCellData+4,  &c); aCoord[1] = c.i;
       ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘rtreeNonleafConstraint’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184130:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( p->op!=RTREE_EQ ) break;  /* RTREE_LE and RTREE_LT end here */
         ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:184133:5: note: here
     default: /* RTREE_GT or RTREE_GE,  or fallthrough of RTREE_EQ */
     ^~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘jsonRenderNode’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:180779:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( pNode->jnFlags & JNODE_RAW ){
         ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:180785:5: note: here
     case JSON_REAL:
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘jsonReturn’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:180893:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
       int_as_real: /* fall through to real */;
       ^~~~~~~~~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:180895:5: note: here
     case JSON_REAL: {
     ^~~~
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c: In function ‘jsonEachColumn’:
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:182546:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
       if( p->bRecursive ){
         ^
Release/obj/gen/sqlite-autoconf-3300100/sqlite3.c:182556:5: note: here
     default: {
type or paste code here

so which version of npm ? npm -v ?
Did you install Node-RED using the recommended install script ?
https://nodered.org/docs/getting-started/raspberrypi

@dceejay,

V5.8.0

I havent installed node-red, it comes with raspbian OS buster preinstalled, I just luanch it every time and update / upgrade

If you still have any patience left I’d recommend updating using the script.

@dceejay

I have and here is the response :

pi@raspberrypi:~ $ sudo apt-get install nodered
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodered is already the newest version (1.0.6-1).
0 upgraded, 0 newly installed, 0 to remove and 137 not upgraded.

@dceejay,

itsnt npm , node.js, and node red is up to date , what's left?

Hi Peter,

that is not the script Dave was referring.

Our docs for the Raspberry Pi are here: https://nodered.org/docs/getting-started/raspberrypi

We provide a script to install Node-RED without using apt as the versions of node available via apt is not up to date and not the way we recommend to run things.

@knolleary

Thank you for your response, so would you please be so kind and inform me what / how the script i need install node-red the right way from here on ..please . i have reviewed and done what ( https://nodered.org/docs/getting-started/raspberrypi ) as instructed, yet some of the nodes still don't work.

can i restart the installation from scratch and start over the right way. i am losing valuable time and stuck on this for a long time now

and i havent even started working on the solution / project yet ..2 days trying to setup node red and the needed nodes

So does that mean you have run the:

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

command indicated in the docs?

That will have removed the apt-get installed version of node-red and should have left you with Node 12 and Node-RED 1.1.3. Once run, you no longer use apt-get to update node-red - you rerun the script.

@knolleary,

No, sorry I haven't, my deepest apologies !!!
I have just noted that I have used the wrong method and have just run the new bash command and seeing the new Node-Red Installer for the first time and it's going through the phases as we speak.
I assume I need to reinstall the required nodes and hopefully, they will work as expected.

I want to use the following nodes on this project :
- Dashboard /node-red-dashboard
- Sqlite3 /npm i node-red-node-sqlite ( Had Error)
- OLED /node-red-contrib-oled
- UI-Table /node-red-node-ui-table
- I2C node /node-red-contrib-i2c
- RFID mode /node-red-contrib-nfc ( Had Error )

any advice?

Let the script finish, check what versions of node, npm and node-red it leaves you with and then go from there.

In theory, it should get everything up to date and the sqlite node should install.

The nfc node I am less familiar with. I see it requires you to run as root which isn't ideal, but doable.

But yes. The SQLite install can take 30 40 mins on a zero

hi @knolleary,

The script is completed and received the following information :

This can take 20-30 minutes on the slower Pi versions - please wait.

  Stop Node-RED                       ✔
  Remove old version of Node-RED      ✔
  Remove old version of Node.js       ✔
  Install Node.js for Armv6           ✔   Node v12.18.3   Npm 6.14.6
  Clean npm cache                     ✔
  Install Node-RED core               ✔   1.1.3
  Move global nodes to local          -
  Install extra Pi nodes              ✔
  Npm rebuild existing nodes          -
  Add shortcut commands               ✔
  Update systemd script               ✔


Any errors will be logged to   /var/log/nodered-install.log
All done.
  You can now start Node-RED with the command  node-red-start
  or using the icon under   Menu / Programming / Node-RED
  Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880

Started  Wed 09 Sep 2020 12:23:34 PM SAST  -  Finished  Wed 09 Sep 2020 12:41:13                            PM SAST

All looks well , I will restart Node-red and inform you of the status.

I just would like to thank you @knolleary and @dceejay sincerely for your great support and help! you are real hero's to me !! very much appreciated. I would like to donate, just inform me how and where !!

I still have some challenges with the actual project now that I have Node-red up and running and would need some more assistance as I am a newbie, I will open a new topic. hopefully, you would have some spare time to have a look there :wink:

Again, I can't extend my appreciation enough to you! Thank YOU

1 Like

@knolleary, and @dceejay,

I have bad news, even after the update, none of the nodes wants to install/be visible on the pallet

HI @knolleary and @dceejay,

Seems the upgrade to NR 1.1.3 did not work .. the issue is still the same. nodes not working

@dceejay , @knolleary what am we missing here?

To be clear, the upgrade of Node-RED has worked - I can see you have 1.1.3.

So did you try reinstalling those nodes afterwards?

Can you share the Node-RED startup log? It will give more details of the errors