nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

Corrupt Matter ZCL file generation (Matter Template project)

I am creating a Matter accessory device with the nrf52840dk and the guide on https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_matter_creating_accessory.html
However, I am running into a problem at step 9 of the Edit cluster using the ZAP tool step.

The endpoint_config.h file is not generated correctly for example at lines 386, 391, 396, 404, 414, 454 till 459, 469 and 481 (see zap-files.zip ) I included the other zap generated files and my template.zap in this file as well might I have overlooked other errors. 

I noted that the zap tool logged some errors. These can be found in the zap.log file.

I have freshly installed the nrfconnect sdk v1.9.1 through the toolchain manager on win10. 
My nodejs version is 14.15.5 and my npm version is 8.5.5

Can anyone help me solve this?

Related