<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>run ZAP tool failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94613/run-zap-tool-failed</link><description>Hello， 
 Add a cluster based on the matter/template example in ncs2.1.2. When I run the &amp;quot; scripts\tools\zap\run_zaptool.sh ..\..\..\nrf\samples\matter\sensor\src\template.zap &amp;quot;command, t he following window appears. 
 
 After waiting a while, the above</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Jan 2023 08:58:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94613/run-zap-tool-failed" /><item><title>RE: run ZAP tool failed</title><link>https://devzone.nordicsemi.com/thread/403755?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 08:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a24918e-e4ed-4ff8-b9db-7870f9cff7fb</guid><dc:creator>Devin Li</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;J&amp;oslash;rgen，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Following the above post I still had problems with ncs 2.2.0, and when I checkout to ncs 2.1.3 the zap tool worked fine.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;span&gt;execute &amp;quot;&lt;/span&gt;./scripts/tools/zap/run_zaptool.sh ..\..\..\lm_work\sensor\src\sensor.zap &amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1673254296602v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;execute &amp;quot;.\scripts\tools\zap\generate.py ..\..\..\lm_work\sensor\src\sensor.zap &amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1673254388095v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Versions for windows 10 are as follows:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1673254574131v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Devin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run ZAP tool failed</title><link>https://devzone.nordicsemi.com/thread/403642?ContentTypeID=1</link><pubDate>Fri, 06 Jan 2023 16:13:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:153c475e-9320-4c3a-b12e-14c0d774c2dd</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Can you try the suggestions in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90936/error-inquiry-when-running-run_zaptool/381388"&gt;this post&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run ZAP tool failed</title><link>https://devzone.nordicsemi.com/thread/400736?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 03:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb5f5d56-7d9f-4452-90ee-feb772ea13f9</guid><dc:creator>Devin Li</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;J&amp;oslash;rgen，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. The following is the version information for Windows 10.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1671072403941v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The window is&amp;nbsp;unexpected quit after the command is executed.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1671075324125v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. In Ubuntu 20.04, node.js fell back to V16.8.1 and was recompiled, but error 1 still appeared.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1671073193005v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Devin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run ZAP tool failed</title><link>https://devzone.nordicsemi.com/thread/400657?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 14:25:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abd8749d-5d21-4216-b0b4-b94cf8577935</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;What is the output from &amp;quot;npm version&amp;quot; on that OS? I got similar errors when installing the latest node.js version (v19.x.x). After downgrading to node.js v16.x.x, the error went away.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run ZAP tool failed</title><link>https://devzone.nordicsemi.com/thread/400019?ContentTypeID=1</link><pubDate>Sun, 11 Dec 2022 03:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9ac91ab-67d8-4c68-a412-77c23efe17e0</guid><dc:creator>Devin Li</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen，&lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_0 un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_0" data-section="0" data-sentence="0" data-group="0-0"&gt;Changed to ubuntu 20.04 but reported error code 1 when executing the &amp;ldquo;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span class="o"&gt;./&lt;/span&gt;&lt;span class="n"&gt;scripts&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;zap&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;generate&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;py&lt;/span&gt; &lt;span class="o"&gt;../../../&lt;/span&gt;&lt;span class="n"&gt;nrf&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;samples&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;matter&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;template/&lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;template&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;zap &amp;rdquo;&lt;/span&gt;&lt;/pre&gt;
&lt;p class="tgt color_text_0 un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_0" data-section="0" data-sentence="0" data-group="0-0"&gt;command. &lt;/span&gt;&lt;/p&gt;
&lt;p class="tgt color_text_0 un-step-trans" data-section="1"&gt;&lt;span class="tgt color_text_0" data-section="1" data-sentence="0" data-group="1-0"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1670727135541v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also refer to the Marte&amp;#39;s method in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/90936/error-inquiry-when-running-run_zaptool"&gt;this&lt;/a&gt; discussion, but it doesn&amp;#39;t seem to work for me.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Devin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run ZAP tool failed</title><link>https://devzone.nordicsemi.com/thread/400012?ContentTypeID=1</link><pubDate>Sat, 10 Dec 2022 14:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22145b53-4f1c-4dcc-bb16-b235e44159c0</guid><dc:creator>Devin Li</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I spent almost a whole day trying various versions of npm in Windows 10, with all sorts of weird problems, but finally failed, so I decided to switch to ubuntu 20.4 to save the installation trouble on windows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Devin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run ZAP tool failed</title><link>https://devzone.nordicsemi.com/thread/399491?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 15:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dad41a1e-dd64-43e3-854b-f9f5f4fc7e4a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like you are using a quite old version of npm. Can you try to upgrade it to a more recent version? The latest version now seems to be&amp;nbsp;9.1.3.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>