OK. Here it is. Well, it would not let me post whole thing; here’s the log after the errors start::
===================== = =
1532 error code 1
1533 error path /usr/local/lib/node_modules/edge-impulse-cli/node_modules/@serialport/bindings
1534 error command failed
1535 error command sh -c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
1536 error gyp info it worked if it ends with ok
1536 error gyp info using node-gyp@7.1.2
1536 error gyp info using node@16.4.0 | darwin | x64
1536 error gyp info find Python using Python version 3.9.5 found at “/Library/Frameworks/Python.framework/Versions/3.9/bin/python3”
1536 error (node:74840) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
1536 error (Use node --trace-deprecation ...
to show where the warning was created)
1536 error gyp info spawn /Library/Frameworks/Python.framework/Versions/3.9/bin/python3
1536 error gyp info spawn args [
1536 error gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’,
1536 error gyp info spawn args ‘binding.gyp’,
1536 error gyp info spawn args ‘-f’,
1536 error gyp info spawn args ‘make’,
1536 error gyp info spawn args ‘-I’,
1536 error gyp info spawn args ‘/usr/local/lib/node_modules/edge-impulse-cli/node_modules/@serialport/bindings/build/config.gypi’,
1536 error gyp info spawn args ‘-I’,
1536 error gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’,
1536 error gyp info spawn args ‘-I’,
1536 error gyp info spawn args ‘/Users/MTBOOK/Library/Caches/node-gyp/16.4.0/include/node/common.gypi’,
1536 error gyp info spawn args ‘-Dlibrary=shared_library’,
1536 error gyp info spawn args ‘-Dvisibility=default’,
1536 error gyp info spawn args ‘-Dnode_root_dir=/Users/MTBOOK/Library/Caches/node-gyp/16.4.0’,
1536 error gyp info spawn args ‘-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp’,
1536 error gyp info spawn args ‘-Dnode_lib_file=/Users/MTBOOK/Library/Caches/node-gyp/16.4.0/<(target_arch)/node.lib’,
1536 error gyp info spawn args ‘-Dmodule_root_dir=/usr/local/lib/node_modules/edge-impulse-cli/node_modules/@serialport/bindings’,
1536 error gyp info spawn args ‘-Dnode_engine=v8’,
1536 error gyp info spawn args ‘–depth=.’,
1536 error gyp info spawn args ‘–no-parallel’,
1536 error gyp info spawn args ‘–generator-output’,
1536 error gyp info spawn args ‘build’,
1536 error gyp info spawn args ‘-Goutput_dir=.’
1536 error gyp info spawn args ]
1536 error No receipt for ‘com.apple.pkg.CLTools_Executables’ found at ‘/’.
1536 error
1536 error No receipt for ‘com.apple.pkg.DeveloperToolsCLILeo’ found at ‘/’.
1536 error
1536 error No receipt for ‘com.apple.pkg.DeveloperToolsCLI’ found at ‘/’.
1536 error
1536 error Traceback (most recent call last):
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 1500, in XcodeVersion
1536 error version_list = GetStdoutQuiet([“xcodebuild”, “-version”]).splitlines()
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 1563, in GetStdoutQuiet
1536 error raise GypError(“Error %d running %s” % (job.returncode, cmdlist[0]))
1536 error gyp.common.GypError: Error 1 running xcodebuild
1536 error
1536 error During handling of the above exception, another exception occurred:
1536 error
1536 error Traceback (most recent call last):
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py”, line 51, in
1536 error sys.exit(gyp.script_main())
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 670, in script_main
1536 error return main(sys.argv[1:])
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 662, in main
1536 error return gyp_main(args)
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/init.py”, line 647, in gyp_main
1536 error generator.GenerateOutput(flat_list, targets, data, params)
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 2451, in GenerateOutput
1536 error writer.Write(
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 831, in Write
1536 error self.WriteSources(
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py”, line 1302, in WriteSources
1536 error cflags = self.xcode_settings.GetCflags(
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 661, in GetCflags
1536 error archs = self.GetActiveArchs(self.configname)
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 515, in GetActiveArchs
1536 error xcode_archs_default = GetXcodeArchsDefault()
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 122, in GetXcodeArchsDefault
1536 error xcode_version, _ = XcodeVersion()
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 1511, in XcodeVersion
1536 error version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322
1536 error File “/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py”, line 1549, in CLTVersion
1536 error return re.search(regex, output).groupdict()[“version”]
1536 error AttributeError: ‘NoneType’ object has no attribute ‘groupdict’
1536 error gyp ERR! configure error
1536 error gyp ERR! stack Error: gyp
failed with exit code: 1
1536 error gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
1536 error gyp ERR! stack at ChildProcess.emit (node:events:394:28)
1536 error gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
1536 error gyp ERR! System Darwin 18.5.0
1536 error gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
1536 error gyp ERR! cwd /usr/local/lib/node_modules/edge-impulse-cli/node_modules/@serialport/bindings
1536 error gyp ERR! node -v v16.4.0
1536 error gyp ERR! node-gyp -v v7.1.2
1536 error gyp ERR! not ok
1537 verbose exit 1
======== =