Board: nrf7002
Project: matter_light_blub
OS: Kubuntu 22
Toolchains: v2.7.0
SDK: v2.7.0
I have successfully deployed and tested projects that run normally, but when I try to make changes using ZAP, I encountered the following error during installation. Could you please tell me what software I might be missing and need to install? Thank you very much.
jim@jim:~/nodic2.70/light_bulb$ west zap-gui
ZAP installation directory: /home/jim/nodic2.70/external/modules/lib/matter/.zap-install
Installing ZAP 2024.3.14
Downloading https://github.com/project-chip/zap/releases/download/v2024.03.14-nightly/zap-linux-x64.zip...
100% [......................................................................] 206076879 / 206076879
Unzipping ZAP package to /home/jim/nodic2.70/external/modules/lib/matter/.zap-install...
/home/jim/nodic2.70/light_bulb/src/light_bulb.zap:2
"fileFormat": 2,
^
SyntaxError: Unexpected token ':'
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1185:20)
at Module._compile (node:internal/modules/cjs/loader:1227:27)
at Object..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:96:12)
at node:internal/main/run_main_module:23:47
Node.js v18.17.1
FATAL ERROR: command exited with status 1: /home/jim/nodic2.70/external/modules/lib/matter/.zap-install/zap /home/jim/nodic2.70/light_bulb/src/light_bulb.zap --zcl /home/jim/nodic2.70/external/modules/lib/matter/src/app/zap-templates/zcl/zcl.json --gen /home/jim/nodic2.70/external/modules/lib/matter/src/app/zap-templates/app-templates.json --stateDirectory /home/jim/nodic2.70/external/modules/lib/matter/.zap-install/.zap