# Upgrade NR 0.19.4 -\> 1.0.4: missing node types

**URL:** <https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572>\
**Category:** General\
**Created:** [24 March 2020 15:41 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572 "2020-03-24T15:41:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marooned](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marooned/32/2858_2.png) [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Post date:** [24 March 2020 15:41 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/1 "2020-03-24T15:41:26Z")

</div>

Hi there

I was running NR 0.19.4 (NodeJS v8.11.1) on RPi and wanted to use msg.reset for Join Node. As it was not present, I decided to upgrade NR.  
I used script from [https://nodered.org/docs/getting-started/raspberrypi](https://nodered.org/docs/getting-started/raspberrypi)  
Rebooted RPi after successful upgrade but when I enter my NR page, I get error:

```auto
Flows stopped due to missing node types.

    serial-port
    mcp23017chip
    mcp23017input
    e-mail

```

And those nodes are rendered with dashed border. However, when I open Palette and search for those nodes, I have `Installed` buttons next to them.  
So not sure what happened. Any help?  
Thanks

PS, Also, all Dashboard seems to be missing (even Dashboard tab in the editor).

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 March 2020 20:31 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/2 "2020-03-24T20:31:30Z")

</div>

Did the install say it had completed successfully?  
Please start node red in a terminal and post the full log here, you can stop/start using

```auto
node-red-stop
node-red-start

```

That may give us some extra information.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 March 2020 21:51 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/3 "2020-03-24T21:51:18Z")

</div>

Some of the less core nodes were dropped from the core set a while back.  
I would re-install them manually

```auto
node-red-stop
cd ~/.node-red
npm i -f node-red-node-serialport@latest node-red-node-email@latest node-red-contrib-mcp23017chip@latest
node-red-start

```

---

<div class="post-metadata">

**Author:** ![Marooned](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marooned/32/2858_2.png) [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Post date:** [25 March 2020 10:15 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/4 "2020-03-25T10:15:55Z")

</div>

> [@Colin](#):
>
> Did the install say it had completed successfully?

```auto
pi@raspberrypi:~ $ bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

This script will remove versions of Node.js prior to version 7.x, and Node-RED and
if necessary replace them with Node.js 10.x LTS (dubnium) and the latest Node-RED from Npm.

It also moves any Node-RED nodes that are globally installed into your user
~/.node-red/node_modules directory, and adds them to your package.json, so that
you can manage them with the palette manager.

It also tries to run 'npm rebuild' to refresh any extra nodes you have installed
that may have a native binary component. While this normally works ok, you need
to check that it succeeds for your combination of installed nodes.

To do all this it runs commands as root - please satisfy yourself that this will
not damage your Pi, or otherwise compromise your configuration.
If in doubt please backup your SD card first.

Are you really sure you want to do this ? [y/N] ? y

Would you like to install the Pi-specific nodes ? [y/N] ? y

Running Node-RED install for user pi at /home/pi on raspbian

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 v10.19.0 Npm 6.14.3
  Clean npm cache ✔
  Install Node-RED core ✔ 1.0.4
  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 Tue 24 Mar 16:04:24 CET 2020 - Finished Tue 24 Mar 16:22:53 CET 2020

```

> [@Colin](#):
>
> Please start node red in a terminal and post the full log here, you can stop/start using

```auto
Starting as a systemd service.
Started Node-RED graphical event wiring tool.
25 Mar 10:52:02 - [info]
Welcome to Node-RED
===================
25 Mar 10:52:02 - [info] Node-RED version: v1.0.4
25 Mar 10:52:02 - [info] Node.js version: v10.19.0
25 Mar 10:52:02 - [info] Linux 4.14.71+ arm LE
25 Mar 10:52:10 - [info] Loading palette nodes
25 Mar 10:52:40 - [info] Dashboard version 2.10.1 started at /ui
It looks like serialport didn't compile properly. This is a common problem and its fix is well documented here https://github.com/voodootikigod/node-serialport#to-install
The result of requiring the package is: undefined
25 Mar 10:52:42 - [warn] ------------------------------------------------------
25 Mar 10:52:42 - [warn] [node-red-node-serialport/serialport] Error: The module '/home/pi/.node-red/node_modules/serialport/build/Release/serialport.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
25 Mar 10:52:42 - [warn] [node-red-node-arduino/arduino] Missing serialport dependency
25 Mar 10:52:42 - [warn] [node-red-contrib-mcp23017chip/mcp23017chip] Error: The module '/home/pi/.node-red/node_modules/i2c-bus/build/Release/i2c.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
25 Mar 10:52:42 - [warn] ------------------------------------------------------
25 Mar 10:52:42 - [info] Settings file : /home/pi/.node-red/settings.js
25 Mar 10:52:42 - [info] Context store : 'default' [module=memory]
25 Mar 10:52:42 - [info] User directory : /home/pi/.node-red
25 Mar 10:52:42 - [warn] Projects disabled : editorTheme.projects.enabled=false
25 Mar 10:52:42 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
25 Mar 10:52:43 - [info] Server now running at http://127.0.0.1:1880/
25 Mar 10:52:44 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
25 Mar 10:52:45 - [info] Waiting for missing types to be registered:
25 Mar 10:52:45 - [info] - serial-port (provided by npm module node-red-node-serialport)
25 Mar 10:52:45 - [info] - mcp23017chip
25 Mar 10:52:45 - [info] - mcp23017input
25 Mar 10:52:45 - [info] - e-mail (provided by npm module node-red-node-email)
25 Mar 10:52:45 - [info] To install any of these missing modules, run:
25 Mar 10:52:45 - [info] npm install <module name>
25 Mar 10:52:45 - [info] in the directory:
25 Mar 10:52:45 - [info] /home/pi/.node-red

```

> [@dceejay](#):
>
> Some of the less core nodes were dropped from the core set a while back.  
> I would re-install them manually

```auto
pi@raspberrypi:~/.node-red $ npm i -f node-red-node-serialport@latest node-red-node-email@latest node-red-contrib-mcp23017chip@latest
npm WARN using --force I sure hope you know what you are doing.
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

npm ERR! code EEXIST
npm ERR! path /home/pi/.node-red/node_modules/.bin/serialport-list
npm ERR! Refusing to delete /home/pi/.node-red/node_modules/.bin/serialport-list: is outside /home/pi/.node-red/node_modules/serialport and not a link
npm ERR! File exists: /home/pi/.node-red/node_modules/.bin/serialport-list
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-03-25T09_59_52_757Z-debug.log

```

So even `-f` did not help. However, palette says they are installed, npm says they are installed.. yet, NR does not seem to see them. Eh, upgrading is never a good idea... "if it ain't broke, don't fix it".

I've tried to uninstall those modules and also failed - looks like some folder structure issue? Hmm

```auto
pi@raspberrypi:~/.node-red $ npm uninstall node-red-node-serialport node-red-node-email node-red-contrib-mcp23017chip
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

npm ERR! code EEXIST
npm ERR! path /home/pi/.node-red/node_modules/.bin/serialport-list
npm ERR! Refusing to delete /home/pi/.node-red/node_modules/.bin/serialport-list: is outside /home/pi/.node-red/node_modules/serialport and not a link
npm ERR! File exists: /home/pi/.node-red/node_modules/.bin/serialport-list
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-03-25T10_13_43_630Z-debug.log

```

I don't recall where I use serialport (and if I still need it). However, mcp23017 and mail are crucial for me.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 March 2020 10:34 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/5 "2020-03-25T10:34:21Z")

</div>

> [@Marooned](#):
>
> npm ERR! File exists: /home/pi/.node-red/node\_modules/.bin/serialport-list  
> npm ERR! Remove the existing file and try again

So did doing that work?

---

<div class="post-metadata">

**Author:** ![Marooned](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marooned/32/2858_2.png) [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Post date:** [25 March 2020 10:46 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/6 "2020-03-25T10:46:49Z")

</div>

When removed `serialport-list`, error complained about another file, so I've removed all three of them and looks like it's some kind of domino. Not sure how many files will it ask me to remove so it doesn't sound like a correct path.

```auto
pi@raspberrypi:~/.node-red $ rm /home/pi/.node-red/node_modules/.bin/serialport-*
pi@raspberrypi:~/.node-red $ npm uninstall node-red-node-serialport node-red-node-email node-red-contrib-mcp23017chip
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

npm ERR! code EEXIST
npm ERR! path /home/pi/.node-red/node_modules/.bin/prebuild-install
npm ERR! Refusing to delete /home/pi/.node-red/node_modules/.bin/prebuild-install: is outside /home/pi/.node-red/node_modules/prebuild-install and not a link
npm ERR! File exists: /home/pi/.node-red/node_modules/.bin/prebuild-install
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-03-25T10_42_37_048Z-debug.log

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 March 2020 11:19 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/7 "2020-03-25T11:19:58Z")

</div>

Probably best to clear out node\_modules and reinstall all the nodes. Rename the node\_modules folder to something else (just in case we need it back) and, in .node-red folder run  
`npm install`  
That should re-create node\_modules from scratch.

---

<div class="post-metadata">

**Author:** ![Marooned](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marooned/32/2858_2.png) [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Post date:** [25 March 2020 12:40 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/8 "2020-03-25T12:40:10Z")

</div>

> [@Colin](#):
>
> Probably best to clear out node\_modules and reinstall all the nodes.

Looks like some more serious issue right now (partial log because `Body is limited to 32000 characters; you entered 71350.`).

```auto
pi@raspberrypi:~/.node-red $ npm i

> i2c-bus@1.2.5 install /home/pi/.node-red/node_modules/i2c-bus
> node-gyp rebuild

make: Entering directory '/home/pi/.node-red/node_modules/i2c-bus/build'
  CXX(target) Release/obj.target/i2c/src/i2c.o
In file included from ../src/i2c.cc:2:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                            ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__ ((deprecated(message))) declarator
                                          ^ ~~~~~~~~~
In file included from ../src/i2c.cc:2:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                              ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:170:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__ ((deprecated(message))) declarator
                                          ^ ~~~~~~~~~
In file included from ../src/i2c.cc:2:0:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
         v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                              ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:163:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__ ((deprecated(message))) declarator
                                          ^ ~~~~~~~~~
In file included from ../src/i2c.cc:2:0:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
     ));
     ^
In file included from ../src/i2c.cc:1:0:
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:177:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/pi/.cache/node-gyp/10.19.0/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
     __attribute__ ((deprecated(message))) declarator
                                          ^ ~~~~~~~~~
In file included from ../src/i2c.cc:95:0:
../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/./i2cfuncs.cc:48:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int fd = info[0]->Int32Value();
                                ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:95:0:
../src/./i2cfuncs.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE I2cFuncsSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/./i2cfuncs.cc:60:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int fd = info[0]->Int32Value();
                                ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:96:0:
../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/./readbyte.cc:49:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int fd = info[0]->Int32Value();
                                ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:96:0:
../src/./readbyte.cc:50:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   __u8 cmd = info[1]->Int32Value();
                                  ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:96:0:
../src/./readbyte.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadByteSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/./readbyte.cc:62:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int fd = info[0]->Int32Value();
                                ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:96:0:
../src/./readbyte.cc:63:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   __u8 cmd = info[1]->Int32Value();
                                  ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:97:0:
../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/./readword.cc:49:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int fd = info[0]->Int32Value();
                                ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:97:0:
../src/./readword.cc:50:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   __u8 cmd = info[1]->Int32Value();
                                  ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:97:0:
../src/./readword.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadWordSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/./readword.cc:62:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int fd = info[0]->Int32Value();
                                ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:97:0:
../src/./readword.cc:63:34: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   __u8 cmd = info[1]->Int32Value();
                                  ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/home/pi/.cache/node-gyp/10.19.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__ ((deprecated(message)))
   ^ ~~~~~~~~~
In file included from ../src/i2c.cc:98:0:
../src/./readblock.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE ReadBlockAsync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/./readblock.cc:66:32: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   int fd = info[0]->Int32Value();
                                ^
In file included from /home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:26:0,
                 from /home/pi/.cache/node-gyp/10.19.0/include/node/node.h:63,
                 from ../src/i2c.cc:1:
/home/pi/.cache/node-gyp/10.19.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);

[...]

In file included from ../src/poller.cpp:1:0:
../../nan/nan.h:1655:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
  CXX(target) Release/obj.target/serialport/src/serialport_linux.o
  SOLINK_MODULE(target) Release/obj.target/serialport.node
  COPY Release/serialport.node
make: Leaving directory '/home/pi/.node-red/node_modules/serialport/build'
npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.

added 487 packages from 306 contributors and audited 1797 packages in 685.687s
found 67 vulnerabilities (45 low, 10 moderate, 12 high)
  run `npm audit fix` to fix them, or `npm audit` for details
pi@raspberrypi:~/.node-red $

```

Charlie Foxtrot.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 March 2020 13:33 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/9 "2020-03-25T13:33:52Z")

</div>

Those are warnings, at the end it says it has added 487 packages and there are no errors so you should be good to go.

---

<div class="post-metadata">

**Author:** ![Marooned](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marooned/32/2858_2.png) [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Post date:** [25 March 2020 15:29 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/10 "2020-03-25T15:29:27Z")

</div>

Had to reinstall e-mail node but after that it looks like all is working fine.  
Thanks for all your help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 April 2020 15:29 UTC](https://discourse.nodered.org/t/upgrade-nr-0-19-4-1-0-4-missing-node-types/23572/11 "2020-04-08T15:29:38Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
