<?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[I broke something]]></title><description><![CDATA[<p dir="auto">Hi everyone,<br />
Was cleaning my module directory, I think I deleted something I shouldn’t have…<br />
My mirror starts but only shows the clock.<br />
The RemoteControl is ok except the “hide and show modules” part that asks to check the MM logs for more details.<br />
That’s what I get :</p>
<pre><code>PM2            | App [MagicMirror:1] exited with code [1] via signal [SIGINT]
PM2            | App [MagicMirror:1] starting in -fork mode-
PM2            | App [MagicMirror:1] online
1|MagicMirror  | [2020-07-15 08:49:12.135] [ERROR]
1|MagicMirror  | { Error: ENOENT: no such file or directory, open 'package.json'
1|MagicMirror  |     at Object.openSync (fs.js:443:3)
1|MagicMirror  |     at Object.readFileSync (fs.js:343:35)
1|MagicMirror  |     at Object.&lt;anonymous&gt; (/home/pi/MagicMirror/js/app.js:18:32)
1|MagicMirror  |     at Module._compile (internal/modules/cjs/loader.js:778:30)
1|MagicMirror  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
1|MagicMirror  |     at Module.load (internal/modules/cjs/loader.js:653:32)
1|MagicMirror  |     at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
1|MagicMirror  |     at Function.Module._load (internal/modules/cjs/loader.js:585:3)
1|MagicMirror  |     at Module.require (internal/modules/cjs/loader.js:692:17)
1|MagicMirror  |     at Module.Hook._require.Module.require (/usr/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:80:39)
1|MagicMirror  |   errno: -2,
1|MagicMirror  |   syscall: 'open',
1|MagicMirror  |   code: 'ENOENT',
1|MagicMirror  |   path: 'package.json' }

</code></pre>
<p dir="auto">I tried to npm install all my modules again but still the same.<br />
Got an idea ?</p>
]]></description><link>https://forum.magicmirror.builders/topic/13277/i-broke-something</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 00:12:52 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13277.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Jul 2020 07:20:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I broke something on Thu, 16 Jul 2020 13:27:35 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> said in <a href="/post/78623">I broke something</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/killerjoe34" aria-label="Profile: killerjoe34">@<bdi>killerjoe34</bdi></a> you can also link folders</p>
<p dir="auto">if you do (in the config folder where I just set a link)</p>
<p dir="auto">ls -laF</p>
<p dir="auto">will show u the file is linked, and where to</p>
</blockquote>
<p dir="auto">Ok, I’ll have a look at that, thx again !</p>
]]></description><link>https://forum.magicmirror.builders/post/78624</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78624</guid><dc:creator><![CDATA[killerjoe34]]></dc:creator><pubDate>Thu, 16 Jul 2020 13:27:35 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Thu, 16 Jul 2020 13:26:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/killerjoe34" aria-label="Profile: killerjoe34">@<bdi>killerjoe34</bdi></a> you can also link folders</p>
<p dir="auto">if you do (in the config folder where I just set a link)</p>
<p dir="auto">ls -laF</p>
<p dir="auto">will show u the file is linked, and where to</p>
]]></description><link>https://forum.magicmirror.builders/post/78623</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78623</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 16 Jul 2020 13:26:07 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Thu, 16 Jul 2020 12:51:39 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> said in <a href="/post/78607">I broke something</a>:</p>
<blockquote>
<p dir="auto">try this</p>
</blockquote>
<p dir="auto">Wow great :)<br />
Thanks a lot, I’ll use that !</p>
]]></description><link>https://forum.magicmirror.builders/post/78618</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78618</guid><dc:creator><![CDATA[killerjoe34]]></dc:creator><pubDate>Thu, 16 Jul 2020 12:51:39 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Thu, 16 Jul 2020 12:09:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/killerjoe34" aria-label="Profile: killerjoe34">@<bdi>killerjoe34</bdi></a> no, the link makes it look like all the secondary files ARE the root file.   so actually changing ANY changes them all, there is ONLY one actual file.   but erasing the linked file does NOT erase the root file.</p>
<p dir="auto">try this</p>
<pre><code>mkdir ~/foo
mv ~/MagicMirror/config/config.js foo
cd ~/MagicMirror/config
ln -s ~/foo/config.js config.js
</code></pre>
<p dir="auto">now you have your file in ~/foo<br />
but it LOOKS like it is also in ~/MagicMirror/config</p>
<p dir="auto">edit one, change the date/time format<br />
restart MM<br />
voila<br />
edit the other one and change it back<br />
restart MM</p>
]]></description><link>https://forum.magicmirror.builders/post/78607</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78607</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 16 Jul 2020 12:09:15 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Thu, 16 Jul 2020 12:03:34 GMT]]></title><description><![CDATA[<p dir="auto">Ok, I read the man page but still don’t get it, even in french :D :(<br />
You’re saying that if the root file is modified, it also modifies the linked one(s)  or does it make another copy ?<br />
Cause it would be perfect in that case, keeping track of every modification to be able to step back.</p>
<p dir="auto">Thanks for your explanations :)</p>
]]></description><link>https://forum.magicmirror.builders/post/78605</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78605</guid><dc:creator><![CDATA[killerjoe34]]></dc:creator><pubDate>Thu, 16 Jul 2020 12:03:34 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Thu, 16 Jul 2020 11:48:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/killerjoe34" aria-label="Profile: killerjoe34">@<bdi>killerjoe34</bdi></a> linux file systems give you the ability to create a file as a LINK to another file somewhere else…</p>
<p dir="auto">so you only have one copy, but multiple instances…  changing the root file makes it look like all the linked files changed too</p>
<p dir="auto">see the ln command</p>
]]></description><link>https://forum.magicmirror.builders/post/78601</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78601</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 16 Jul 2020 11:48:33 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Thu, 16 Jul 2020 09:55:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> said in <a href="/post/78554">I broke something</a>:</p>
<blockquote>
<p dir="auto">symlink</p>
</blockquote>
<p dir="auto">I’m not sure to exactly get what a simlink is, what’s the difference with a simple copy ?</p>
]]></description><link>https://forum.magicmirror.builders/post/78595</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78595</guid><dc:creator><![CDATA[killerjoe34]]></dc:creator><pubDate>Thu, 16 Jul 2020 09:55:49 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Wed, 15 Jul 2020 17:22:30 GMT]]></title><description><![CDATA[<p dir="auto">I moved my personal configs to another directory and symlinked them in their proper places.</p>
<p dir="auto">This gives me a guide to get up and running after doing something stupid… Takes reinstall time from several hours to about 30 minutes.</p>
]]></description><link>https://forum.magicmirror.builders/post/78554</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78554</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Wed, 15 Jul 2020 17:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to I broke something on Wed, 15 Jul 2020 12:05:25 GMT]]></title><description><![CDATA[<p dir="auto">Well, I did a fresh reinstall, it took me about 2 hours but it’s approximately working again :)</p>
]]></description><link>https://forum.magicmirror.builders/post/78537</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/78537</guid><dc:creator><![CDATA[killerjoe34]]></dc:creator><pubDate>Wed, 15 Jul 2020 12:05:25 GMT</pubDate></item></channel></rss>