# Arduino\_firmata warning

**URL:** <https://discourse.nodered.org/t/arduino-firmata-warning/83421>\
**Category:** General\
**Created:** [4 December 2023 19:21 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421 "2023-12-04T19:21:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![emrerdogan](https://avatars.discourse-cdn.com/v4/letter/e/53a042/32.png) [@emrerdogan](https://discourse.nodered.org/u/emrerdogan)\
**Post date:** [4 December 2023 19:21 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421/1 "2023-12-04T19:21:12Z")

</div>

![Ekran Resmi 2023-12-04 22.06.01](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/cc45090517adcf8dfd0bc1ad12d1f2da701d18bb.jpeg)

Hello friends, i encounter such a problem when trying to install arduino-firmata with Manege-Palette. I need help

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [4 December 2023 19:24 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421/2 "2023-12-04T19:24:27Z")

</div>

Hi @emrerdogan

Its in the error what you need to do.

- Install python for OSX  
Use the universal installer, given you're using Apple Silicon

After install, run `python --version` in terminal to confirm install  
or Evan run that before install, to confirm its really not installed already

> **[Python Releases for macOS](https://www.python.org/downloads/macos/)**
>
> The official home of the Python Programming Language

---

<div class="post-metadata">

**Author:** ![emrerdogan](https://avatars.discourse-cdn.com/v4/letter/e/53a042/32.png) [@emrerdogan](https://discourse.nodered.org/u/emrerdogan)\
**Post date:** [4 December 2023 19:46 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421/3 "2023-12-04T19:46:08Z")

</div>

> [@marcus-j-davies](#):
>
> python --version

## Hi marcus, i did as you say and I ran into mistakes again.

2023-12-04T19:42:35.641Z Install : node-red-node-arduino 0.3.1

2023-12-04T19:42:35.662Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-arduino@0.3.1

2023-12-04T19:42:35.846Z [err] npm

2023-12-04T19:42:35.846Z [err] WARN config production Use `--omit=dev` instead.

2023-12-04T19:42:37.340Z [err] npm ERR! code 1

2023-12-04T19:42:37.340Z [err] npm ERR!

2023-12-04T19:42:37.340Z [err] path /Users/emreerdogan/.node-red/node\_modules/@serialport/bindings

2023-12-04T19:42:37.340Z [err] npm

2023-12-04T19:42:37.340Z [err]

2023-12-04T19:42:37.340Z [err] ERR!

2023-12-04T19:42:37.340Z [err] command failed

2023-12-04T19:42:37.340Z [err] npm ERR! command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

2023-12-04T19:42:37.340Z [err] npm

2023-12-04T19:42:37.340Z [err] ERR! gyp info it worked if it ends with ok

2023-12-04T19:42:37.340Z [err] npm ERR! gyp info using node-gyp@10.0.1

2023-12-04T19:42:37.340Z [err] npm

2023-12-04T19:42:37.340Z [err] ERR! gyp info using node@20.10.0 | darwin | arm64

2023-12-04T19:42:37.340Z [err] npm ERR!

2023-12-04T19:42:37.340Z [err] gyp info find Python using Python version 3.12.0 found at "/usr/local/bin/python3"

2023-12-04T19:42:37.340Z [err] npm ERR!

2023-12-04T19:42:37.341Z [err] gyp info spawn /usr/local/bin/python3

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args [

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '/Users/emreerdogan/.node-red/node\_modules/node-gyp/gyp/gyp\_main.py',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args 'binding.gyp',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-f',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args 'make',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-I',

2023-12-04T19:42:37.341Z [err] npm

2023-12-04T19:42:37.341Z [err] ERR! gyp info spawn args '/Users/emreerdogan/.node-red/node\_modules/@serialport/bindings/build/config.gypi',

2023-12-04T19:42:37.341Z [err] npm ERR!

2023-12-04T19:42:37.341Z [err] gyp info spawn args '-I',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '/Users/emreerdogan/.node-red/node\_modules/node-gyp/addon.gypi',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-I',

2023-12-04T19:42:37.341Z [err] npm

2023-12-04T19:42:37.341Z [err] ERR! gyp info spawn args '/Users/emreerdogan/Library/Caches/node-gyp/20.10.0/include/node/common.gypi',

2023-12-04T19:42:37.341Z [err] npm ERR!

2023-12-04T19:42:37.341Z [err] gyp info spawn args '-Dlibrary=shared\_library',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-Dvisibility=default',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-Dnode\_root\_dir=/Users/emreerdogan/Library/Caches/node-gyp/20.10.0',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-Dnode\_gyp\_dir=/Users/emreerdogan/.node-red/node\_modules/node-gyp',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-Dnode\_lib\_file=/Users/emreerdogan/Library/Caches/node-gyp/20.10.0/\<(target\_arch)/node.lib',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-Dmodule\_root\_dir=/Users/emreerdogan/.node-red/node\_modules/@serialport/bindings',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-Dnode\_engine=v8',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '--depth=.',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '--no-parallel',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '--generator-output',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args 'build',

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args '-Goutput\_dir=.'

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args ]

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn make

2023-12-04T19:42:37.341Z [err] npm ERR! gyp info spawn args ['BUILDTYPE=Release', '-C', 'build']

2023-12-04T19:42:37.341Z [err] npm ERR! xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! build error

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! stack Error: `make` failed with exit code: 1

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! stack at ChildProcess. (/Users/emreerdogan/.node-red/node\_modules/node-gyp/lib/build.js:209:23)

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! System Darwin 22.4.0

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/emreerdogan/.node-red/node\_modules/.bin/node-gyp" "rebuild"

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! cwd /Users/emreerdogan/.node-red/node\_modules/@serialport/bindings

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! node -v v20.10.0

2023-12-04T19:42:37.341Z [err] npm ERR!

2023-12-04T19:42:37.341Z [err] gyp ERR! node-gyp -v v10.0.1

2023-12-04T19:42:37.341Z [err] npm ERR! gyp ERR! not ok

2023-12-04T19:42:37.341Z [err]

2023-12-04T19:42:37.341Z [err] npm ERR!

2023-12-04T19:42:37.341Z [err] A complete log of this run can be found in: /Users/emreerdogan/.npm/\_logs/2023-12-04T19\_42\_35\_828Z-debug-0.log

2023-12-04T19:42:37.345Z rc=1

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [4 December 2023 19:53 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421/4 "2023-12-04T19:53:16Z")

</div>

python is now found - so that's problem 1 resolved.  
your next problem is some dev tools are missing (as things need to be compiled)

Try running this is terminal : `xcode-select --install`

once installed, try again.

Sadly the `serilaport` node that this module uses, is infamous for being a pain in the backside, so your results may vary.

**EDIT**

I also noticed your using Node 20.  
I have a feeling `serilaport ` 8.x.x may not support Node 20 - as that is the version being requested by `firmata` which is requested by `node-red-node-arduino`

I'll tag @dceejay for this one (sorry Dave)

---

<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:** [4 December 2023 20:20 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421/5 "2023-12-04T20:20:19Z")

</div>

🙂 - just published arduino node version 1.0.0

---

<div class="post-metadata">

**Author:** ![emrerdogan](https://avatars.discourse-cdn.com/v4/letter/e/53a042/32.png) [@emrerdogan](https://discourse.nodered.org/u/emrerdogan)\
**Post date:** [4 December 2023 20:20 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421/6 "2023-12-04T20:20:34Z")

</div>

I did what they said and got results. Thank you very much Marcus, I wish you success:)

---

<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:** [2 February 2024 20:20 UTC](https://discourse.nodered.org/t/arduino-firmata-warning/83421/7 "2024-02-02T20:20:48Z")

</div>

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