<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Update NPM 4.6.1 und Nodejs 8.12.0]]></title><description><![CDATA[<p dir="auto">Hallo zusammen,</p>
<p dir="auto">bei mir läuft ioBorker als LXC (Ubuntu 18.04.1 LTS) unter Proxmox.</p>
<p dir="auto">ich habe dort NPM 4.6.1 und Nodejs 8.12.0 am laufen und hatte jetzt gelesen, dass man mind NPM aktualisieren muss.<br />
Nun bin ich totaler Laie was Linux angeht und möchte mein laufendes iobroker nicht zerstören.<br />
Danke für die Hilfe.</p>
<p dir="auto">Unter <a href="http://www.iobroker.net/docu/?page_id=8323&amp;lang=de" rel="nofollow ugc">http://www.iobroker.net/docu/?page_id=8323&amp;lang=de</a><br />
ganz unten gibt es ja den Punkt: Upgrade von nodejs und npm</p>
<p dir="auto">Aber der Absatz macht mir etwas Sorgen:<br />
Bei einer bestehenden ioBroker-Installation müssen beim Wechsel der Masterversion von nodejs (4.x, 6.x, 8.x, 10.x) anschließend unbedingt die bereits installierten Adapter für diese geänderte node-Version neu kompiliert werden.</p>
<p dir="auto">Muss ich das dann auch machen?</p>
<p dir="auto">Reicht es so:<br />
iobroker stop<br />
apt-get --purge remove node nodejs<br />
apt-get autoremove<br />
reboot</p>
<p dir="auto">Nach dem Reboot geht es mit diesen Befehlen weiter:<br />
curl -sL <a href="https://deb.nodesource.com/setup_8.x" rel="nofollow ugc">https://deb.nodesource.com/setup_8.x</a> | sudo -E bash -<br />
apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs<br />
reboot</p>
<p dir="auto">Vielen Dank für die Hilfe.</p>
]]></description><link>https://forum.iobroker.net/topic/20295/update-npm-4-6-1-und-nodejs-8-12-0</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 13:11:03 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/20295.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Feb 2019 11:08:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Sat, 13 Apr 2019 16:31:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sissiwup" aria-label="Profile: sissiwup">@<bdi>sissiwup</bdi></a> sagte in <a href="/post/252908">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto">/root/.npm/_logs/2019-04-13T16_24_09_584Z-debug.log</p>
</blockquote>
<p dir="auto">root@zotac:~# node -v<br />
v10.15.3<br />
root@zotac:~# nodejs -v<br />
v10.15.3<br />
root@zotac:~# npm -v<br />
6.4.1<br />
root@zotac:~#</p>
]]></description><link>https://forum.iobroker.net/post/252909</link><guid isPermaLink="true">https://forum.iobroker.net/post/252909</guid><dc:creator><![CDATA[sissiwup]]></dc:creator><pubDate>Sat, 13 Apr 2019 16:31:08 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Sat, 13 Apr 2019 16:27:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> sagte in <a href="/post/240901">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a> sagte in <a href="/post/240897">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto">npm rebuild<br />
muss ich nicht mehr machen, wie Du oben beschrieben hast, oder?</p>
</blockquote>
<p dir="auto">wenn npm jetzt 6.x ist würde ich empfehlen das laufen zu lassen</p>
</blockquote>
<pre><code>/root/.node-gyp/10.15.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
unix_dgram.target.mk:101: die Regel für Ziel „Release/obj.target/unix_dgram/src/unix_dgram.o“ scheiterte
make: *** [Release/obj.target/unix_dgram/src/unix_dgram.o] Fehler 1
make: Verzeichnis „/opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram/build“ wird verlassen
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.9.0-7-amd64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/unix-dgram
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! unix-dgram@0.2.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the unix-dgram@0.2.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-04-13T16_24_09_584Z-debug.log
</code></pre>
<p dir="auto">Kommt bei mir immer als Fehlermeldung ...</p>
]]></description><link>https://forum.iobroker.net/post/252908</link><guid isPermaLink="true">https://forum.iobroker.net/post/252908</guid><dc:creator><![CDATA[sissiwup]]></dc:creator><pubDate>Sat, 13 Apr 2019 16:27:24 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Wed, 13 Mar 2019 11:14:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a> sagte in <a href="/post/240897">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto">npm rebuild<br />
muss ich nicht mehr machen, wie Du oben beschrieben hast, oder?</p>
</blockquote>
<p dir="auto">wenn npm jetzt 6.x ist würde ich empfehlen das laufen zu lassen</p>
]]></description><link>https://forum.iobroker.net/post/240901</link><guid isPermaLink="true">https://forum.iobroker.net/post/240901</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Wed, 13 Mar 2019 11:14:17 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Wed, 13 Mar 2019 11:59:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> sagte in <a href="/post/240870">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
dann mache jetzt ein</p>
<pre><code>apt update &amp;&amp; apt upgrade
</code></pre>
<p dir="auto">Du hast schon die major version 8.x aber noch die 8.12, die muss auf 8.15.x</p>
<p dir="auto">Dein npm liegt noch auf 4.x das sollte 6.x sein.</p>
<p dir="auto">Sollte dies nach dem upgrade nicht automatisch auf 6.x sein, bitte nochmal melden</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a><br />
das war es dann.<br />
Juhu. Hat geklappt. Dann kann ich mit diesem einen Befehl ja auch meine Original VM updaten.</p>
<p dir="auto">So siehts jetzt aus. Ich hoffe das ist alles richtig für ioBroker.<br />
<img src="/assets/uploads/files/1552478355133-nodejs.png" alt="nodejs.png" class=" img-fluid img-markdown" /><br />
Ein npm rebuild<br />
muss ich nicht mehr machen, wie Du oben beschrieben hast, oder?</p>
<p dir="auto">Vielen Dank!</p>
]]></description><link>https://forum.iobroker.net/post/240897</link><guid isPermaLink="true">https://forum.iobroker.net/post/240897</guid><dc:creator><![CDATA[Kaiman55]]></dc:creator><pubDate>Wed, 13 Mar 2019 11:59:19 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Wed, 13 Mar 2019 10:44:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
dann mache jetzt ein</p>
<pre><code>apt update &amp;&amp; apt upgrade
</code></pre>
<p dir="auto">Du hast schon die major version 8.x aber noch die 8.12, die muss auf 8.15.x</p>
<p dir="auto">Dein npm liegt noch auf 4.x das sollte 6.x sein.</p>
<p dir="auto">Sollte dies nach dem upgrade nicht automatisch auf 6.x sein, bitte nochmal melden</p>
]]></description><link>https://forum.iobroker.net/post/240870</link><guid isPermaLink="true">https://forum.iobroker.net/post/240870</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Wed, 13 Mar 2019 10:44:14 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Wed, 13 Mar 2019 10:29:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> sagte in <a href="/post/240831">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
Was sagt</p>
<pre><code>node -v
nodejs -v
npm -v
</code></pre>
<p dir="auto">EDIT: du hast ja beide Befehle in einem - so steht das doch nicht in der Doku?<br />
dort steht:</p>
<pre><code>Die existierenden node &amp; node.js Versionen deinstallieren
sudo apt-get --purge remove node
sudo apt-get --purge remove nodejs
sudo apt-get autoremove
sudo reboot
</code></pre>
<p dir="auto">Aber bitte erst die erste Frage beantworten</p>
</blockquote>
<p dir="auto">Moin,<br />
erstmal vielen Dank für die schnelle Antwort.<br />
Ich hatte gar nicht mehr in den Link geschaut, sondern aus meinem Beitra #1 die Zeile kopiert.<br />
Dann wird das wohl schon der Fehler gewesen sein.</p>
<p dir="auto">Folgendes geben die -v Zeilen aus:<br />
<img src="/assets/uploads/files/1552472811854-nodejs.png" alt="nodejs.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wendy2702" aria-label="Profile: wendy2702">@<bdi>wendy2702</bdi></a><br />
Hab wohl doch 2 in 1 aus dem Befehl gemacht. Oh mann.... Linux ist halt noch Neuland.<br />
Ein Backup habe ich gemacht. Habe meine VM geklont und teste es erst auf nem Test System.</p>
]]></description><link>https://forum.iobroker.net/post/240862</link><guid isPermaLink="true">https://forum.iobroker.net/post/240862</guid><dc:creator><![CDATA[Kaiman55]]></dc:creator><pubDate>Wed, 13 Mar 2019 10:29:30 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Wed, 13 Mar 2019 09:22:26 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Was mache ich denn falsch?</p>
</blockquote>
<p dir="auto">Nichts!</p>
<p dir="auto">Wenn die geforderten Ausgaben von <a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> jetzt nichts mehr ergeben ist alles gut.</p>
<p dir="auto">Hoffe du hast vorher ein Backup gemacht!!!</p>
]]></description><link>https://forum.iobroker.net/post/240833</link><guid isPermaLink="true">https://forum.iobroker.net/post/240833</guid><dc:creator><![CDATA[wendy2702]]></dc:creator><pubDate>Wed, 13 Mar 2019 09:22:26 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Wed, 13 Mar 2019 09:21:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
Was sagt</p>
<pre><code>node -v
nodejs -v
npm -v
</code></pre>
<p dir="auto">EDIT: du hast ja beide Befehle in einem - so steht das doch nicht in der Doku?<br />
dort steht:</p>
<pre><code>Die existierenden node &amp; node.js Versionen deinstallieren
sudo apt-get --purge remove node
sudo apt-get --purge remove nodejs
sudo apt-get autoremove
sudo reboot
</code></pre>
<p dir="auto">Aber bitte erst die erste Frage beantworten</p>
]]></description><link>https://forum.iobroker.net/post/240831</link><guid isPermaLink="true">https://forum.iobroker.net/post/240831</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Wed, 13 Mar 2019 09:21:45 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Wed, 13 Mar 2019 09:09:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> sagte in <a href="/post/232178">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
Da wo iobroker installiert ist!<br />
üblicherweise /opt/iobroker</p>
</blockquote>
<p dir="auto">Moin Homoran,</p>
<p dir="auto">sorry, dass ich jetzt erst antworte. Hatte noch keine Zeit zum ausprobieren.</p>
<p dir="auto">Heute habe es versucht zu testen.</p>
<p dir="auto">Aber ich scheitere bereits am zweiten Befehl, da ein "Unable to locate package node" ausgegeben wird:<br />
<img src="/assets/uploads/files/1552468106687-nodejs.png" alt="nodejs.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Angemeldet bin ich als root.<br />
Gestoppt ist iobroker auch.</p>
<p dir="auto">Was mache ich denn falsch?</p>
]]></description><link>https://forum.iobroker.net/post/240826</link><guid isPermaLink="true">https://forum.iobroker.net/post/240826</guid><dc:creator><![CDATA[Kaiman55]]></dc:creator><pubDate>Wed, 13 Mar 2019 09:09:38 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Mon, 25 Feb 2019 16:47:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
Da wo iobroker installiert ist!<br />
üblicherweise /opt/iobroker</p>
]]></description><link>https://forum.iobroker.net/post/232178</link><guid isPermaLink="true">https://forum.iobroker.net/post/232178</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Mon, 25 Feb 2019 16:47:31 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Mon, 25 Feb 2019 13:20:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: Homoran">@<bdi>Homoran</bdi></a> sagte in <a href="/post/232039">Update NPM 4.6.1 und Nodejs 8.12.0</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
Und danach ein</p>
<pre><code>npm rebuild
</code></pre>
<p dir="auto">Im Installationsverzeichnis</p>
</blockquote>
<p dir="auto">Meinst Du damit im iobroker Vetrzeichnis?</p>
]]></description><link>https://forum.iobroker.net/post/232085</link><guid isPermaLink="true">https://forum.iobroker.net/post/232085</guid><dc:creator><![CDATA[Kaiman55]]></dc:creator><pubDate>Mon, 25 Feb 2019 13:20:23 GMT</pubDate></item><item><title><![CDATA[Reply to Update NPM 4.6.1 und Nodejs 8.12.0 on Mon, 25 Feb 2019 11:15:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaiman55" aria-label="Profile: Kaiman55">@<bdi>Kaiman55</bdi></a><br />
Und danach ein</p>
<pre><code>npm rebuild
</code></pre>
<p dir="auto">Im Installationsverzeichnis</p>
]]></description><link>https://forum.iobroker.net/post/232039</link><guid isPermaLink="true">https://forum.iobroker.net/post/232039</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Mon, 25 Feb 2019 11:15:16 GMT</pubDate></item></channel></rss>