<?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[Issues installing on rpi2]]></title><description><![CDATA[<p dir="auto">Hi folks,<br />
tried to setup a new MM version on a rpi2. Followed every step in the (current) manual installation procedure, but it fails every time. Tried to reinstall and add features several times, now I do not know what to do next… any idea?</p>
<p dir="auto">Here are the logs from ‘npm install’</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ npm install

&gt; electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
&gt; node ./download-chromedriver.js

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'debug'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/electron-download/lib/index.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-chromedriver@6.0.0 install: `node ./download-chromedriver.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron-chromedriver@6.0.0 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!     /home/pi/.npm/_logs/2020-04-15T07_19_42_745Z-debug.log
pi@raspberrypi:~/MagicMirror $ node ./download-chromedriver.js
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module '/home/pi/MagicMirror/download-chromedriver.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
</code></pre>
<p dir="auto">and as this seems to be related to electron the log for: ‘npm install electron@6.0.12’</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ npm install electron@6.0.12

&gt; electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
&gt; node ./download-chromedriver.js

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'debug'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/electron-download/lib/index.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm WARN grunt-eslint@22.0.0 requires a peer of grunt@&gt;=1 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.14.0 requires a peer of stylelint@^13.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-yamllint@0.3.0 requires a peer of grunt@&gt;=1.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@&gt;=10.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN stylelint-config-standard@20.0.0 requires a peer of stylelint@&gt;=10.1.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-chromedriver@6.0.0 install: `node ./download-chromedriver.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron-chromedriver@6.0.0 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!     /home/pi/.npm/_logs/2020-04-15T07_22_40_386Z-debug.log
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/12593/issues-installing-on-rpi2</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 01:21:28 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/12593.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Apr 2020 07:38:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Issues installing on rpi2 on Wed, 15 Apr 2020 13:17:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/k-w-b" aria-label="Profile: K-w-b">@<bdi>K-w-b</bdi></a> great news!!,</p>
<p dir="auto">which raspian version were u trying and which worked?</p>
]]></description><link>https://forum.magicmirror.builders/post/72825</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72825</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 15 Apr 2020 13:17:16 GMT</pubDate></item><item><title><![CDATA[Reply to Issues installing on rpi2 on Wed, 15 Apr 2020 13:11:18 GMT]]></title><description><![CDATA[<p dir="auto">thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> for the responsed.</p>
<p dir="auto">before I saw Sam’s notice, I wiped the SD card again and started with a new raspbian version from scratch. Everything from the manual installation worked fine now - MM launches. The only thing I might have done different is rebooting raspbi after upgrading  <code>sudo apt full-upgrade</code> - Needless to say that this is a major facepalm on my side.<br />
So to whoever reads this in the future - follow the instructions shown on the screen (!)</p>
]]></description><link>https://forum.magicmirror.builders/post/72824</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72824</guid><dc:creator><![CDATA[K-w-b]]></dc:creator><pubDate>Wed, 15 Apr 2020 13:11:18 GMT</pubDate></item><item><title><![CDATA[Reply to Issues installing on rpi2 on Wed, 15 Apr 2020 11:41:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/k-w-b" aria-label="Profile: K-w-b">@<bdi>K-w-b</bdi></a>  its because he is on a pi2, armv6l…</p>
<p dir="auto">he needs to do<br />
npm install --only=prod<br />
to NOT try to load the chromedriver, which doesn’t exist… (same as our optional dependency for electron on armv6l) (I think its spectron which is dragging in the chromedriver)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/k-w-b" aria-label="Profile: K-w-b">@<bdi>K-w-b</bdi></a>   please use the automated install script… it fixes a bunch of problems om armv6l systems.<br />
see here , <a href="https://github.com/sdetweil/MagicMirror_scripts" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MagicMirror_scripts</a><br />
read the readme online for the command to issue…<br />
u will need to erase the MagicMirror folder to run install again</p>
]]></description><link>https://forum.magicmirror.builders/post/72815</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72815</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 15 Apr 2020 11:41:44 GMT</pubDate></item><item><title><![CDATA[Reply to Issues installing on rpi2 on Wed, 15 Apr 2020 11:12:56 GMT]]></title><description><![CDATA[<p dir="auto">Tha’s weird. You could try installing ‘debug’:</p>
<pre><code>npm install debug
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/72813</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72813</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Wed, 15 Apr 2020 11:12:56 GMT</pubDate></item><item><title><![CDATA[Reply to Issues installing on rpi2 on Wed, 15 Apr 2020 09:02:46 GMT]]></title><description><![CDATA[<p dir="auto">Running on 6.14.4’</p>
<pre><code>pi@raspberrypi:~ $ npm version
{ npm: '6.14.4',
  ares: '1.15.0',
  brotli: '1.0.7',
  cldr: '35.1',
  http_parser: '2.9.3',
  icu: '64.2',
  modules: '64',
  napi: '6',
  nghttp2: '1.39.2',
  node: '10.20.1',
  openssl: '1.1.1e',
  tz: '2019c',
  unicode: '12.1',
  uv: '1.34.2',
  v8: '6.8.275.32-node.56',
  zlib: '1.2.11' }
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/72805</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72805</guid><dc:creator><![CDATA[K-w-b]]></dc:creator><pubDate>Wed, 15 Apr 2020 09:02:46 GMT</pubDate></item><item><title><![CDATA[Reply to Issues installing on rpi2 on Wed, 15 Apr 2020 08:14:24 GMT]]></title><description><![CDATA[<p dir="auto">What version of NPM are you using? <code>npm -v</code></p>
]]></description><link>https://forum.magicmirror.builders/post/72803</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/72803</guid><dc:creator><![CDATA[MichMich]]></dc:creator><pubDate>Wed, 15 Apr 2020 08:14:24 GMT</pubDate></item></channel></rss>