<?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[After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working?]]></title><description><![CDATA[<p dir="auto">So I am trying to download the MM software after the update on July 1st. It won’t work anymore. First dependencies didn’t install, then node wasn’t up to date. Please someone help. Help me fix this!!!</p>
<p dir="auto">After a whole bunch of trying things I ended up here</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ pm2 status all
┌──────┬────┬──────┬─────────┬────┬─────┬────────┐
│ Name │ id │ mode │ status  │ ↺  │ cpu │ memory │
├──────┼────┼──────┼─────────┼────┼─────┼────────┤
│ mm   │ 0  │ fork │ errored │ 30 │ 0%  │ 0 B    │
└──────┴────┴──────┴─────────┴────┴─────┴────────┘

</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/10892/after-2-8-i-m-having-tons-of-issues-what-are-the-steps-from-square-1-to-get-this-working</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 09:29:33 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10892.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Aug 2019 19:20:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 23:08:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maxheartrate" aria-label="Profile: maxheartrate">@<bdi>maxheartrate</bdi></a> just do</p>
<pre><code>pm2 stop mm
pm2 delete mm
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/59958</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59958</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 23:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 22:16:03 GMT]]></title><description><![CDATA[<p dir="auto">I just did a reboot to see if MagicMirror survives it. :winking_face:</p>
<p dir="auto">Since I ran your <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> script in my time of desparation, pm2 now autostarts two instances of MagicMirror. One is MagicMirror and one my original mm.</p>
<p dir="auto">Where do I edit this again? I forgot how I managed to do the autostart in the first place … sorry.</p>
]]></description><link>https://forum.magicmirror.builders/post/59957</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59957</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 22:16:03 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 22:08:08 GMT]]></title><description><![CDATA[<p dir="auto">I am now using my original config.js and I am copying the modules one by one, then restarting Magic Mirror and checking if it still works.</p>
<p dir="auto">I have got some stuff back up and running now. Thank so much up to this point.</p>
]]></description><link>https://forum.magicmirror.builders/post/59956</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59956</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 22:08:08 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:59:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maxheartrate" aria-label="Profile: maxheartrate">@<bdi>maxheartrate</bdi></a> I really want you to run my updated install script…if I can only find the topic with the link!</p>
<p dir="auto">See the second post here<br />
<a href="https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing">https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing</a></p>
]]></description><link>https://forum.magicmirror.builders/post/59955</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59955</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:57:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maxheartrate" aria-label="Profile: maxheartrate">@<bdi>maxheartrate</bdi></a> you have to do that, copy the config</p>
]]></description><link>https://forum.magicmirror.builders/post/59954</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59954</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:57:13 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:51:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
That’s what I did. I have a fresh MagicMirror now. It is running but can’t find the config file (I haven’t copied config.js.sample to config.js yet).</p>
]]></description><link>https://forum.magicmirror.builders/post/59953</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59953</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:51:30 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:50:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maxheartrate" aria-label="Profile: maxheartrate">@<bdi>maxheartrate</bdi></a></p>
<pre><code>Obviously the folder was deleted when I ran the npm install in the MagicMirror folder
</code></pre>
<p dir="auto">No it won’t be deleted.</p>
<p dir="auto">Let’s start from scratch. U have the extra downloaded copy. Make THAT NAME MagicMirror, and npm install in that folder.</p>
<p dir="auto">Start mm and we should be running.</p>
<p dir="auto">Then we will copy over your extra modules, and config file<br />
And work from there</p>
]]></description><link>https://forum.magicmirror.builders/post/59952</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59952</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:50:05 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:49:17 GMT]]></title><description><![CDATA[<p dir="auto">Alright. Now I have something else but a black screen for the first time in days:</p>
<p dir="auto">“Magic Mirror - please create a config file”</p>
<p dir="auto">What do you suggest now?</p>
]]></description><link>https://forum.magicmirror.builders/post/59951</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59951</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:49:17 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:34:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maxheartrate" aria-label="Profile: maxheartrate">@<bdi>maxheartrate</bdi></a></p>
<pre><code>Obviously the folder was deleted when I ran the npm install in the MagicMirror folder
</code></pre>
<p dir="auto">No it won’t be deleted.</p>
<p dir="auto">Let’s start from scratch. U have the extra downloaded copy. Make THAT NAME MagicMirror, and npm install in that folder.</p>
<p dir="auto">Start mm and we should be running.</p>
<p dir="auto">Then we will copy over your extra modules, and config file<br />
And work from there</p>
]]></description><link>https://forum.magicmirror.builders/post/59950</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59950</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:29:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>, thanks for joining in and for your advise.</p>
<p dir="auto">I followed your steps just as described. The node_helper was the only module in the newly cloned node_modules folder. I then ran npm install and an npm install in every modules folder with a package.json file.</p>
<p dir="auto">After that I ran into the missing node_helper error again. Obviously the folder was deleted when I ran the npm install in the MagicMirror folder. Now I copied the node_helper folder from the newly cloned version again and I am back at the error I sent in my previous post. :dizzy_face:</p>
<pre><code>
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/59949</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59949</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:29:10 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 21:02:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maxheartrate" aria-label="Profile: maxheartrate">@<bdi>maxheartrate</bdi></a> no.  No npm install in the node_modules folder. That messes everything up.</p>
<p dir="auto">Do</p>
<pre><code>cd ~/MagicMirror
rm -rf node_modules
cp -R -p ???/node_modules ~/MagicMirror
</code></pre>
<p dir="auto">Where ??? Is your recently cloned download.</p>
<p dir="auto">Then in the MagicMirror folder do</p>
<pre><code>npm install
</code></pre>
<p dir="auto">IF u had other modules installed, beyond the initial set, then look thru their folders and see if there is a package.json file present. If so, in each such module folder do a</p>
<pre><code>npm install 
</code></pre>
<p dir="auto">there</p>
<p dir="auto">I made a new script to do all this upgrade stuff, but I don’t know what will happen if the git pull is already done.<br />
See my upgrade topic in the troubleshooting section</p>
]]></description><link>https://forum.magicmirror.builders/post/59946</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59946</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 21:02:22 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 20:47:05 GMT]]></title><description><![CDATA[<p dir="auto">Your two suggestions did not work. That is why I followed step 3: cloning MM again and copying node_helper to node_modules.</p>
<p dir="auto">I ran npm install in node_modules and in the MagicMirror directory.</p>
<p dir="auto">Now it looks like I got one error further … :flushed_face:</p>
<p dir="auto">This is what I get now:</p>
<pre><code>&gt; sh run-start.sh

Starting MagicMirror: v2.8.0
Loading config ...
Loading module helpers ...
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module '../../../js/class.js'
Loading module helpers ...
App threw an error during load
Error: Cannot find module '../../../js/class.js'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/node_helper/index.js:8:13)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/node_helper/index.js:127:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
Whoops! There was an uncaught exception...
{ Error: Cannot find module '../../../js/class.js'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/node_helper/index.js:8:13)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/node_modules/node_helper/index.js:127:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/59944</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59944</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 20:47:05 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 17:28:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/maxheartrate" aria-label="Profile: maxheartrate">@<bdi>maxheartrate</bdi></a> ok. I  am away from my system now for a couple days.</p>
<p dir="auto">Try</p>
<pre><code>git checkout -- node_helper/index.js
</code></pre>
<p dir="auto">If that fails, try</p>
<pre><code>git status
</code></pre>
<p dir="auto">Then rename your MagicMirror folder to something else, clone it again, and copy the node_modules/node_helper folder to your previous installation, and rename the new one, then the old one back</p>
]]></description><link>https://forum.magicmirror.builders/post/59934</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59934</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 17:28:30 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 17:18:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Hi, thank you for your advise.</p>
<pre><code> ls ~/MagicMirror/node_modules/node_helper/
</code></pre>
<p dir="auto">shows me</p>
<p dir="auto">ls: Zugriff auf ‘/home/pi/MagicMirror/node_modules/node_helper/’ nicht möglich: Datei oder Verzeichnis nicht gefunden<br />
<em>File or folder not found</em></p>
<pre><code>git checkout -- node_modules/node_helper/index.js
</code></pre>
<p dir="auto">results in</p>
<p dir="auto">error: pathspec ‘node_modules/node_helper/index.js’ did not match any file(s) known to git.</p>
]]></description><link>https://forum.magicmirror.builders/post/59933</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59933</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 17:18:55 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 13:35:14 GMT]]></title><description><![CDATA[<p dir="auto">weird…</p>
<p dir="auto">node_helper is a special module provided by MM and part of the install package</p>
<p dir="auto">can u do</p>
<pre><code> ls ~/MagicMirror/node_modules/node_helper/
</code></pre>
<p dir="auto">it should display 1 file, index.js</p>
<p dir="auto">did u remove the node_modules folder?<br />
ps. I did that once, and had the same problem!</p>
<p dir="auto">try this</p>
<pre><code>cd ~/MagicMirror
git checkout -- node_modules/node_helper/index.js
</code></pre>
<p dir="auto">then try restarting MagicMirror</p>
]]></description><link>https://forum.magicmirror.builders/post/59914</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59914</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 13:35:14 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 12:58:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am having the exact same problem: Black screen after 2.8 update. I followed all the suggestions you two came up with but my screen remains black.</p>
<p dir="auto">This is what I get after npm start:</p>
<pre><code>
Starting MagicMirror: v2.8.0
Loading config ...
Loading module helpers ...
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
Loading module helpers ...
App threw an error during load
Error: Cannot find module 'node_helper'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
Whoops! There was an uncaught exception...
{ Error: Cannot find module 'node_helper'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
^Cpi@raspberrypi:~/MagicMirror $ 
pi@raspberrypi:~/MagicMirror $ npm stop
npm ERR! missing script: stop

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-08-08T12_50_44_769Z-debug.log
pi@raspberrypi:~/MagicMirror $ pm2 stop mm
[PM2] Applying action stopProcessId on app [mm](ids: 0)
[PM2] [mm](0) ✓
┌─────────────┬────┬──────┬─────────┬───┬─────┬────────┐
│ Name        │ id │ mode │ status  │ ↺ │ cpu │ memory │
├─────────────┼────┼──────┼─────────┼───┼─────┼────────┤
│ MagicMirror │ 1  │ fork │ stopped │ 0 │ 0%  │ 0 B    │
│ mm          │ 0  │ fork │ stopped │ 1 │ 0%  │ 0 B    │
└─────────────┴────┴──────┴─────────┴───┴─────┴────────┘
 Use `pm2 show &lt;id|name&gt;` to get more details about an app
pi@raspberrypi:~/MagicMirror $ pm2 list
┌─────────────┬────┬──────┬─────────┬───┬─────┬────────┐
│ Name        │ id │ mode │ status  │ ↺ │ cpu │ memory │
├─────────────┼────┼──────┼─────────┼───┼─────┼────────┤
│ MagicMirror │ 1  │ fork │ stopped │ 0 │ 0%  │ 0 B    │
│ mm          │ 0  │ fork │ stopped │ 1 │ 0%  │ 0 B    │
└─────────────┴────┴──────┴─────────┴───┴─────┴────────┘
 Use `pm2 show &lt;id|name&gt;` to get more details about an app
pi@raspberrypi:~/MagicMirror $  pm2 start MagicMirror
[PM2] Applying action restartProcessId on app [MagicMirror](ids: 1)
[PM2] [MagicMirror](1) ✓
[PM2] Process successfully started
┌─────────────┬────┬──────┬─────────┬───┬─────┬──────────┐
│ Name        │ id │ mode │ status  │ ↺ │ cpu │ memory   │
├─────────────┼────┼──────┼─────────┼───┼─────┼──────────┤
│ MagicMirror │ 1  │ fork │ online  │ 0 │ 0%  │ 2.5 MB   │
│ mm          │ 0  │ fork │ stopped │ 1 │ 0%  │ 0 B      │
└─────────────┴────┴──────┴─────────┴───┴─────┴──────────┘
 Use `pm2 show &lt;id|name&gt;` to get more details about an app
pi@raspberrypi:~/MagicMirror $ npm start

&gt; magicmirror@2.8.0 start /home/pi/MagicMirror
&gt; sh run-start.sh


Starting MagicMirror: v2.8.0
Loading config ...
Loading module helpers ...
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
Loading module helpers ...
App threw an error during load
Error: Cannot find module 'node_helper'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
Whoops! There was an uncaught exception...
{ Error: Cannot find module 'node_helper'
    at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
    at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._load (internal/modules/cjs/loader.js:528:25)
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:6:18)
    at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:94:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
    at Module.load (internal/modules/cjs/loader.js:620:32) code: 'MODULE_NOT_FOUND' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
</code></pre>
<p dir="auto">I also get the black screen when I start with ‘pm2 MagicMirror’ which was created by <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> script and starting with my original command ‘pm2 start mm’.</p>
<p dir="auto">Looks really screwed up and since I have to admit that I am a noob I am lost.</p>
<p dir="auto">Any suggestions? Best, Max</p>
]]></description><link>https://forum.magicmirror.builders/post/59913</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59913</guid><dc:creator><![CDATA[maxheartrate]]></dc:creator><pubDate>Thu, 08 Aug 2019 12:58:58 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 02:43:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gomalley" aria-label="Profile: Gomalley">@<bdi>Gomalley</bdi></a> glad that it’s working.<br />
My new installer might have avoided all the rework after git clone</p>
]]></description><link>https://forum.magicmirror.builders/post/59904</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59904</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 02:43:22 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 01:31:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Thank you! The mirror now autostarts!<br />
So all this time I was doing it on a Lexar micro sd card. It actually froze on the startup page so I threw in a 16gb Ultra sandisk amd started the process all over.<br />
Heres the steps that I followed:</p>
<pre><code>pm2 logs
</code></pre>
<pre><code>npm i -g npm
</code></pre>
<pre><code>cd ~
sudo chown -R pi .
</code></pre>
<pre><code>pm2 logs
</code></pre>
<pre><code>npm i -g npm
</code></pre>
<pre><code>sudo npm i -g npm
</code></pre>
<pre><code>cd ~/MagicMirror
npm install
</code></pre>
<pre><code>pm2 list
</code></pre>
<pre><code>bash -c "$(curl -sL  https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)"
</code></pre>
<p dir="auto">Thank you again for your help!</p>
]]></description><link>https://forum.magicmirror.builders/post/59903</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59903</guid><dc:creator><![CDATA[Gomalley]]></dc:creator><pubDate>Thu, 08 Aug 2019 01:31:48 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Thu, 08 Aug 2019 00:44:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gomalley" aria-label="Profile: Gomalley">@<bdi>Gomalley</bdi></a> pm2 needs to be reinstalled, cause the npm version changed.</p>
<p dir="auto">lets try my new pm2 fixup script…</p>
<pre><code>bash -c "$(curl -sL  https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)"
</code></pre>
<p dir="auto">I’ve added your problems to the list it handles</p>
]]></description><link>https://forum.magicmirror.builders/post/59900</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59900</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Aug 2019 00:44:48 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Wed, 07 Aug 2019 03:52:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Is it possibly the version of raspbian that is messing this up because it use to work before they released the latest version of raspbian and before MM 2.8 as well.</p>
]]></description><link>https://forum.magicmirror.builders/post/59886</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59886</guid><dc:creator><![CDATA[Gomalley]]></dc:creator><pubDate>Wed, 07 Aug 2019 03:52:15 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Wed, 07 Aug 2019 03:42:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<pre><code>pm2 list
</code></pre>
<p dir="auto">gave me error messages so I ran the updated script and keeps coming up with an error for shelljs</p>
<pre><code>pi@raspberrypi:~ $ pm2 list
[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'shelljs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (/usr/local/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at module.exports.Client.launchDaemon (/usr/local/lib/node_modules/pm2/lib/Client.js:244:7)
    at /usr/local/lib/node_modules/pm2/lib/Client.js:103:10
    at /usr/local/lib/node_modules/pm2/lib/Client.js:311:14
    at process._tickCallback (internal/process/next_tick.js:61:11)
pi@raspberrypi:~ $ bash -c  "$(curl -sL  https://www.dropbox.com/s/cy2z7lbkpifcbrk/fixuppm2.sh?dl=0)"
bash: line 26: 1: command not found
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'shelljs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (/usr/local/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at module.exports.Client.launchDaemon (/usr/local/lib/node_modules/pm2/lib/Client.js:244:7)
    at /usr/local/lib/node_modules/pm2/lib/Client.js:103:10
    at /usr/local/lib/node_modules/pm2/lib/Client.js:311:14
    at process._tickCallback (internal/process/next_tick.js:61:11)
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'shelljs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (/usr/local/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at detectInitSystem (/usr/local/lib/node_modules/pm2/lib/API/Startup.js:50:11)
    at API.CLI.startup (/usr/local/lib/node_modules/pm2/lib/API/Startup.js:186:27)
    at Command.&lt;anonymous&gt; (/usr/local/lib/node_modules/pm2/bin/pm2:705:9)
    at Command.listener (/usr/local/lib/node_modules/pm2/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:189:13)
    at Command.parseArgs (/usr/local/lib/node_modules/pm2/node_modules/commander/index.js:651:12)
[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'shelljs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (/usr/local/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at module.exports.Client.launchDaemon (/usr/local/lib/node_modules/pm2/lib/Client.js:244:7)
    at /usr/local/lib/node_modules/pm2/lib/Client.js:103:10
    at /usr/local/lib/node_modules/pm2/lib/Client.js:311:14
    at process._tickCallback (internal/process/next_tick.js:61:11)
[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'shelljs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (/usr/local/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
    at module.exports.Client.launchDaemon (/usr/local/lib/node_modules/pm2/lib/Client.js:244:7)
    at /usr/local/lib/node_modules/pm2/lib/Client.js:103:10
    at /usr/local/lib/node_modules/pm2/lib/Client.js:311:14
    at process._tickCallback (internal/process/next_tick.js:61:11)
pi@raspberrypi:~ $ 

</code></pre>
<p dir="auto">I’ve run into this “cannot find shelljs” error before</p>
]]></description><link>https://forum.magicmirror.builders/post/59885</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59885</guid><dc:creator><![CDATA[Gomalley]]></dc:creator><pubDate>Wed, 07 Aug 2019 03:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Wed, 07 Aug 2019 03:25:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gomalley" aria-label="Profile: Gomalley">@<bdi>Gomalley</bdi></a> ok, now  try</p>
<pre><code>pm2 list
</code></pre>
<p dir="auto">If something is there, try</p>
<pre><code>pm2 start ???
</code></pre>
<p dir="auto">Where name is whatever was shown</p>
<p dir="auto">If nothing, use my new script, see link in troubleshooting section</p>
]]></description><link>https://forum.magicmirror.builders/post/59883</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59883</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 07 Aug 2019 03:25:16 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Wed, 07 Aug 2019 00:31:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> I was able to start up he mirror by doing</p>
<pre><code>cd ~ /MagicMirror
npm start
</code></pre>
<p dir="auto">The mirror started up like usual but it didn’t restart after I exited out of it.</p>
]]></description><link>https://forum.magicmirror.builders/post/59877</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59877</guid><dc:creator><![CDATA[Gomalley]]></dc:creator><pubDate>Wed, 07 Aug 2019 00:31:48 GMT</pubDate></item><item><title><![CDATA[Reply to After 2.8 I&#x27;m having tons of issues. What are the steps from square 1 to get this working? on Wed, 07 Aug 2019 00:24:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gomalley" aria-label="Profile: Gomalley">@<bdi>Gomalley</bdi></a> yes, start it up</p>
]]></description><link>https://forum.magicmirror.builders/post/59876</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/59876</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 07 Aug 2019 00:24:30 GMT</pubDate></item></channel></rss>