# Errors building from the command line since 2024-02-23

**URL:** <https://community.keyboard.io/t/errors-building-from-the-command-line-since-2024-02-23/6661>\
**Category:** Programming\
**Tags:** question\
**Created:** [March 25, 2024, 10:54am UTC](https://community.keyboard.io/t/errors-building-from-the-command-line-since-2024-02-23/6661 "2024-03-25T10:54:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngetal](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/ngetal/32/2937_2.png) [@ngetal](https://community.keyboard.io/u/ngetal)\
**Post date:** [March 25, 2024, 10:54am UTC](https://community.keyboard.io/t/errors-building-from-the-command-line-since-2024-02-23/6661/1 "2024-03-25T10:54:36Z")

</div>

Has anyone else experienced trouble building sketches from the command line since 583045a443ff1e8abed81a93032feb04e321d34f ?

`invalid argument "expanded" for "--show-properties"`

```auto
# 🐟 ~/imre/oss/Kaleidoscope  @583045a4 ?1
; make setup
Building in quiet mode. For a lot more information, add 'VERBOSE=1' to the beginning of your call to /Library/Developer/CommandLineTools/usr/bin/make
Error: invalid argument "expanded" for "--show-properties" flag: strconv.ParseBool: parsing "expanded": invalid syntax
Usage:
  arduino-cli compile [flags]

```

Also, `make compile` for the model100 and model01 fail:

```auto
# 🐟 ~/imre/oss/Kaleidoscope/examples/Devices/Keyboardio/Model100  @583045a4 ?1 ✘ 2
; make compile
Using Kaleidoscope from /Users/ikoszo/imre/oss/Kaleidoscope
Building in quiet mode. For a lot more information, add 'VERBOSE=1' to the beginning of your call to /Library/Developer/CommandLineTools/usr/bin/make
Error: invalid argument "expanded" for "--show-properties" flag: strconv.ParseBool: parsing "expanded": invalid syntax
Usage:
  arduino-cli compile [flags]

Examples:
  /Users/ikoszo/imre/oss/Kaleidoscope/bin/arduino-cli compile -b arduino:avr:uno /home/user/Arduino/MySketch
  /Users/ikoszo/imre/oss/Kaleidoscope/bin/arduino-cli compile -b arduino:avr:uno --build-property "build.extra_flags=\"-DMY_DEFINE=\"hello world\"\"" /home/user/Arduino/MySketch
  /Users/ikoszo/imre/oss/Kaleidoscope/bin/arduino-cli compile -b arduino:avr:uno --build-property "build.extra_flags=-DPIN=2 \"-DMY_DEFINE=\"hello world\"\"" /home/user/Arduino/MySketch
  /Users/ikoszo/imre/oss/Kaleidoscope/bin/arduino-cli compile -b arduino:avr:uno --build-property build.extra_flags=-DPIN=2 --build-property "compiler.cpp.extra_flags=\"-DSSID=\"hello world\"\"" /home/user/Arduino/MySketch

...
...

***************************************************************

Arduino couldn't figure out what kind of device this sketch
is for. Usually, Arduino looks in a file called `sketch.yaml`
to figure this out.

I'm unable to detect your keyboard, you may need to manually
edit your `sketch.yaml` file or run

ARDUINO_DIRECTORIES_USER=/Users/ikoszo/imre/oss/Kaleidoscope/.arduino/user ARDUINO_DIRECTORIES_DATA=/Users/ikoszo/imre/oss/Kaleidoscope/.arduino/data /Users/ikoszo/imre/oss/Kaleidoscope/bin/arduino-cli board attach

manually, specifying the FQBN for your keyboard.

***************************************************************
/Users/ikoszo/imre/oss/Kaleidoscope/etc/makefiles/sketch.mk:93: ***. Stop.

```

I tried running `make setup` and `make update` but saw no difference. What am I missing?

---

<div class="post-metadata">

**Author:** ![jesse](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jesse/32/361_2.png) [@jesse](https://community.keyboard.io/u/jesse)\
**Post date:** [March 25, 2024, 10:47pm UTC](https://community.keyboard.io/t/errors-building-from-the-command-line-since-2024-02-23/6661/2 "2024-03-25T22:47:43Z")

</div>

It looks like an arduino-cli feature we’re depending on is newer than your arduino-cli. Can you confirm what version you’ve got installed? (And is arduino not prompting you to upgrade every single time it’s invoked?)

---

<div class="post-metadata">

**Author:** ![ngetal](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/ngetal/32/2937_2.png) [@ngetal](https://community.keyboard.io/u/ngetal)\
**Post date:** [March 26, 2024, 8:12am UTC](https://community.keyboard.io/t/errors-building-from-the-command-line-since-2024-02-23/6661/3 "2024-03-26T08:12:22Z")

</div>

Not sure if this is the one:

```auto
; arduino-builder --version
Arduino Builder 1.6.1

```

---

<div class="post-metadata">

**Author:** ![ngetal](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/ngetal/32/2937_2.png) [@ngetal](https://community.keyboard.io/u/ngetal)\
**Post date:** [March 26, 2024, 8:16am UTC](https://community.keyboard.io/t/errors-building-from-the-command-line-since-2024-02-23/6661/4 "2024-03-26T08:16:17Z")

</div>

Right, @jesse 's comment set me on the right path:

I had the brew cask `arduino` installed. Removed that and installed the formula `arduino-cli` instead, which solved the problem.

Cheers Jesse!
