# Installation error node-red-node-arduino

**URL:** https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892
**Category:** General
**Created:** [12 February 2019 18:24 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892 "2019-02-12T18:24:50Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![isaacdanilo](https://avatars.discourse-cdn.com/v4/letter/i/97f17d/32.png) [@isaacdanilo](https://discourse.nodered.org/u/isaacdanilo)
#### Post date: [12 February 2019 18:24 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/1 "2019-02-12T18:24:50Z")

</div>

Greetings, folks.

I am facing a problem when installing the "node-red-node-arduino" in the "manege palette" of Node-Red. Whenever I try to install through the graphical interface it throws the following error:

"Failed to install: node-red-node-arduino

Error: Install failed

Check the log for more information "

If anyone can help me, thank you very much.

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 February 2019 18:47 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/2 "2019-02-12T18:47:49Z")

</div>

Have you checked the log for more 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: [12 February 2019 22:49 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/3 "2019-02-12T22:49:07Z")

</div>

Was in process of updating that very node this evening - version 0.1.0 will be on npm shortly with latest serialport and firmata handler so hopefully will play nicer with node 10 etc.

---

<div class="post-metadata">

### Author: ![RudolfAtRTC](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@RudolfAtRTC](https://discourse.nodered.org/u/RudolfAtRTC)
#### Post date: [10 May 2019 10:44 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/4 "2019-05-10T10:44:09Z")

</div>

I run in the same error today. Installing no-red-node-arduino Fails - also after update/upgrade Raspberry pi. Some Information from the log file:

510 verbose about to build /home/pi/.node-red/node\_modules/node-red-node-arduino  
511 verbose node\_modules/node-red-node-arduino unbuild  
512 info preuninstall node-red-node-arduino@0.2.2  
513 info uninstall node-red-node-arduino@0.2.2  
514 verbose true,/home/pi/.node-red/node\_modules,/home/pi/.node-red/node\_modules unbuild node-red-node-arduino@0.2.2  
515 info postuninstall node-red-node-arduino@0.2.2  
516 error Error: Method Not Allowed  
516 error at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)  
516 error at /usr/share/npm/lib/cache/add-named.js:203:12  
516 error at saved (/usr/share/npm/node\_modules/npm-registry-client/lib/get.js:167:7)  
516 error at FSReqWrap.oncomplete (fs.js:135:15)  
517 error If you need help, you may report this _entire_ log,  
517 error including the npm and node versions, at:  
517 error [http://github.com/npm/npm/issues](http://github.com/npm/npm/issues)  
518 error System Linux 4.14.98-v7+  
519 error command "/usr/bin/node" "/usr/bin/npm" "i" "--unsafe-perm" "node-red-node-arduino"  
520 error cwd /home/pi/.node-red  
521 error node -v v8.11.1  
522 error npm -v 1.4.21  
523 error code E405  
524 verbose exit [1, true]

---

<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: [10 May 2019 11:01 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/5 "2019-05-10T11:01:44Z")

</div>

you need to upgrade node.js and npm in particular. npm 1.4.2 is somewhat broken.  
If this is a Pi then use the upgrade script we provide.

---

<div class="post-metadata">

### Author: ![RudolfAtRTC](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@RudolfAtRTC](https://discourse.nodered.org/u/RudolfAtRTC)
#### Post date: [10 May 2019 11:13 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/6 "2019-05-10T11:13:04Z")

</div>

Thank you very much, that gives hope for me! But where is the offered upgrade switch - I have no idea?

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [10 May 2019 11:14 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/7 "2019-05-10T11:14:04Z")

</div>

in the documentation \> getting started \> raspberry pi

---

<div class="post-metadata">

### Author: ![RudolfAtRTC](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@RudolfAtRTC](https://discourse.nodered.org/u/RudolfAtRTC)
#### Post date: [10 May 2019 12:06 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/8 "2019-05-10T12:06:45Z")

</div>

Ok - I followed the given way....  
The horrible lengthly command "bash \<(curl...) will do Nothing. So I'm at the same point as before.

---

<div class="post-metadata">

### Author: ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)
#### Post date: [10 May 2019 12:12 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/9 "2019-05-10T12:12:48Z")

</div>

when you say the bash command (which you can copy and paste) does nothing, what do you mean?

It’s a lot easier to suggest what you could do if you describe what actually happens

---

<div class="post-metadata">

### Author: ![RudolfAtRTC](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@RudolfAtRTC](https://discourse.nodered.org/u/RudolfAtRTC)
#### Post date: [10 May 2019 12:20 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/10 "2019-05-10T12:20:40Z")

</div>

sorry - "does nothing" means: after the Enter-key the Raspberry pi goes immediately back to prompt - without a visible action. What should be the result of this command?

pi@RaspKlar:~ $ bash \<(curl -sL [https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered))

pi@RaspKlar:~ $

---

<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: [10 May 2019 12:50 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/11 "2019-05-10T12:50:51Z")

</div>

It should take quite a long time (quite a few minutes) and produce output showing progress along the way. Has the Pi got internet access? If not then it won't work. If it has then what happens if you just run the curl command  
`curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered`

That should echo a whole load of stuff to the ternimal, ending with something like  
`if [-e /tmp/update-nodejs-and-nodered] && [-s /tmp/update-nodejs-and-nodered]; then sudo mv /tmp/update-nodejs-and-nodered /usr/bin/update-nodejs-and-nodered; fi`

---

<div class="post-metadata">

### Author: ![RudolfAtRTC](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@RudolfAtRTC](https://discourse.nodered.org/u/RudolfAtRTC)
#### Post date: [29 June 2019 14:59 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/12 "2019-06-29T14:59:34Z")

</div>

To Colin: Thank you for the hints, the pure curl command (ouside bash) did work and has installed the module. But later we have given up, because the Performance at Rapberry Pi is very poor.  
It is usable, when the dashbord resides on a Laptop. But that's not the rigth way for our Children.

---

<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: [29 June 2019 16:09 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/13 "2019-06-29T16:09:57Z")

</div>

A Pi 3 is only just capable of running a browser, none of my Pis have a GUI, or any display at all in fact. The new Pi 4 should be much more capable in that area.

---

<div class="post-metadata">

### Author: ![lufran8313](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lufran8313/32/53058_2.png) [@lufran8313](https://discourse.nodered.org/u/lufran8313)
#### Post date: [25 December 2021 16:30 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/14 "2021-12-25T16:30:53Z")

</div>

Bonjour , j'ai un problème je n'arrive pas à installer dans la mangere palette de node red voici le message  
peut être que depuis que je suis passé sur windows 11 , y a t-il un rapport  
"  
Failed to install: node-red-node-arduino

Install failed

Check the log for more information"

---

<div class="post-metadata">

### Author: ![lufran8313](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lufran8313/32/53058_2.png) [@lufran8313](https://discourse.nodered.org/u/lufran8313)
#### Post date: [25 December 2021 16:35 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/15 "2021-12-25T16:35:44Z")

</div>

VOICI Les erreurs

**strong text** 2021-12-25T16:12:08.890Z Install : node-red-node-arduino 0.3.1

2021-12-25T16:12:09.218Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-arduino@0.3.1  
2021-12-25T16:12:22.487Z [err] npm ERR! code 1  
2021-12-25T16:12:22.487Z [err] npm ERR! path C:\Users\lufra.node-red\node\_modules\firmata\node\_modules@serialport\bindings  
2021-12-25T16:12:22.488Z [err] npm ERR! command failed  
2021-12-25T16:12:22.489Z [err] npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp info it worked if it ends with ok  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp info using node-gyp@8.3.0  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp info using node@16.13.1 | win32 | x64  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp info find Python using Python version 3.9.9 found at "C:\Users\lufra\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9\_qbz5n2kfra8p0\python.exe"  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.489Z [err] gyp ERR! find VS  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS msvs\_version not set from command line or npm config  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS looking for Visual Studio 2015  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS - not found  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.489Z [err] gyp ERR! find VS You need to install the latest version of Visual Studio  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS For more information consult the documentation at:  
2021-12-25T16:12:22.489Z [err] npm  
2021-12-25T16:12:22.489Z [err] ERR! gyp ERR! find VS [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp#on-windows)  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.489Z [err] gyp ERR! find VS  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! configure error  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use  
2021-12-25T16:12:22.489Z [err] npm  
2021-12-25T16:12:22.489Z [err] ERR! gyp ERR! stack at VisualStudioFinder.fail (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:121:47)  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.489Z [err] gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:74:16  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.489Z [err] gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:351:14)  
2021-12-25T16:12:22.489Z [err] npm  
2021-12-25T16:12:22.489Z [err] ERR! gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:70:14  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-visualstudio.js:372:16  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\util.js:54:7  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.489Z [err] gyp ERR! stack at C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\util.js:33:16  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child\_process:404:5)  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.489Z [err] gyp ERR! stack at ChildProcess.emit (node:events:390:28)  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! stack at maybeClose (node:internal/child\_process:1064:16)  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! System Windows\_NT 10.0.22000  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "rebuild"  
2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! cwd C:\Users\lufra.node-red\node\_modules\firmata\node\_modules@serialport\bindings  
2021-12-25T16:12:22.489Z [err] npm ERR!  
2021-12-25T16:12:22.490Z [err] gyp ERR! node -v v16.13.1  
2021-12-25T16:12:22.490Z [err] npm ERR!  
2021-12-25T16:12:22.490Z [err] gyp ERR! node-gyp -v v8.3.0  
2021-12-25T16:12:22.490Z [err] npm ERR!  
2021-12-25T16:12:22.490Z [err] gyp ERR! not ok  
2021-12-25T16:12:22.497Z [err]  
2021-12-25T16:12:22.497Z [err] npm ERR!  
2021-12-25T16:12:22.498Z [err] A complete log of this run can be found in:  
2021-12-25T16:12:22.498Z [err] npm ERR! C:\Users\lufra\AppData\Local\npm-cache\_logs\2021-12-25T16\_12\_22\_491Z-debug.log  
2021-12-25T16:12:22.507Z rc=1

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [25 December 2021 16:44 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/16 "2021-12-25T16:44:40Z")

</div>

> [@lufran8313](#):
>
> 2021-12-25T16:12:22.489Z [err] npm ERR!  
> 2021-12-25T16:12:22.489Z [err] gyp ERR! find VS You need to install the latest version of Visual Studio  
> 2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.  
> 2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS For more information consult the documentation at:  
> 2021-12-25T16:12:22.489Z [err] npm  
> 2021-12-25T16:12:22.489Z [err] ERR! gyp ERR! find VS [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp#on-windows)  
> 2021-12-25T16:12:22.489Z [err] npm ERR! gyp ERR! find VS

Did you follow the instructions in the error message?

---

<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 December 2021 17:00 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/17 "2021-12-25T17:00:20Z")

</div>

When you installed nodejs did it give you an option to install the build tools? If so then did you select it?

---

<div class="post-metadata">

### Author: ![lufran8313](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lufran8313/32/53058_2.png) [@lufran8313](https://discourse.nodered.org/u/lufran8313)
#### Post date: [25 December 2021 19:13 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/18 "2021-12-25T19:13:17Z")

</div>

Bonjour et merci pour vos retours  
Non ,Nodejs ne m' a pas donné la possibilité d'installer les outils de génération

---

<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: [26 December 2021 07:09 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/19 "2021-12-26T07:09:29Z")

</div>

Exactly how did you install nodejs?

---

<div class="post-metadata">

### Author: ![lufran8313](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lufran8313/32/53058_2.png) [@lufran8313](https://discourse.nodered.org/u/lufran8313)
#### Post date: [26 December 2021 07:35 UTC](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892/20 "2021-12-26T07:35:34Z")

</div>

Bonjour , j'ai installé via le site [nodejs.org](http://nodejs.org) , j'ai téléchargé la Dernière version LTS: **16.13.1** (includes npm 8.1.2) je suis sur Windows 11 Famille . pourtant je peux charger tous les autres modules sauf celui de arduino

[Next page](https://discourse.nodered.org/t/installation-error-node-red-node-arduino/7892.md?page=2)
