<?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 get error in magic mirror when am installing the magic mirror the cmd: npm run start]]></title><description><![CDATA[<p dir="auto">Hello Team hope you all are well i get this error when am install magic mirror please help me<br />
am realy upset this is the first time i try to install i get this error</p>
<p dir="auto">Can any one give he solution<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/magicmirrorpi4" aria-label="Profile: magicmirrorpi4">@<bdi>magicmirrorpi4</bdi></a>  <a class="plugin-mentions-user plugin-mentions-a" href="/user/raspberry" aria-label="Profile: raspberry">@<bdi>raspberry</bdi></a></p>
<p dir="auto">npm ERR! code ELIFECYCLE<br />
npm ERR! errno 1<br />
npm ERR! magicmirror@2.14.0 start: <code>DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js</code><br />
npm ERR! Exit status 1<br />
npm ERR!<br />
npm ERR! Failed at the magicmirror@2.14.0 start script.<br />
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br />
npm ERR!     /home/pi/.npm/_logs/2021-02-12T11_07_24_537Z-debug.log</p>
<p dir="auto">i hope i will get the fast respponce</p>
<p dir="auto">Thanks<br />
Chethan P</p>
]]></description><link>https://forum.magicmirror.builders/topic/14605/i-get-error-in-magic-mirror-when-am-installing-the-magic-mirror-the-cmd-npm-run-start</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 10:50:23 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/14605.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Feb 2021 11:14:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Sat, 13 Feb 2021 16:06:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> I suggest you contact the module developer. Can’t help with it :)</p>
]]></description><link>https://forum.magicmirror.builders/post/88417</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88417</guid><dc:creator><![CDATA[0m4r]]></dc:creator><pubDate>Sat, 13 Feb 2021 16:06:50 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Sat, 13 Feb 2021 13:17:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> you must run in desktop mode if u want mm to display on the pi.  the browser requires graphics</p>
]]></description><link>https://forum.magicmirror.builders/post/88404</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88404</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 13 Feb 2021 13:17:14 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Sat, 13 Feb 2021 12:59:25 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/88369">I get error in magic mirror when am installing the magic mirror the cmd: npm run start</a>:</p>
<blockquote>
<p dir="auto">i think he is running cli mode, no xwindows</p>
</blockquote>
<p dir="auto">yes am running in the cli wifi</p>
]]></description><link>https://forum.magicmirror.builders/post/88403</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88403</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Sat, 13 Feb 2021 12:59:25 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Sat, 13 Feb 2021 12:24:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0m4r" aria-label="Profile: 0m4r">@<bdi>0m4r</bdi></a> yaa its working now but when am run the mmm google assistance  i get this error<br />
after complet all steps when am give this cmd</p>
<pre><code>cd ~/MagicMirror/modules/MMM-GoogleAssistant
node auth_and_test.js
</code></pre>
<p dir="auto">internal/modules/cjs/loader.js:638<br />
throw err;<br />
^</p>
<p dir="auto">Error: Cannot find module ‘<a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: bugsounet">@<bdi>bugsounet</bdi></a>/google-assistant’<br />
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)<br />
at Function.Module._load (internal/modules/cjs/loader.js:562:25)<br />
at Module.require (internal/modules/cjs/loader.js:692:17)<br />
at require (internal/modules/cjs/helpers.js:25:18)<br />
at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/auth_and_test.js:7:25)<br />
at Module._compile (internal/modules/cjs/loader.js:778:30)<br />
at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)<br />
at Module.load (internal/modules/cjs/loader.js:653:32)<br />
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)<br />
at Function.Module._load (internal/modules/cjs/loader.js:585:3)</p>
]]></description><link>https://forum.magicmirror.builders/post/88401</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88401</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Sat, 13 Feb 2021 12:24:27 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 15:56:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0m4r" aria-label="Profile: 0m4r">@<bdi>0m4r</bdi></a> npm start sets DISPLAY now so u dont have to do this.</p>
<p dir="auto">i think he is running cli mode, no xwindows</p>
]]></description><link>https://forum.magicmirror.builders/post/88369</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88369</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 12 Feb 2021 15:56:38 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 14:05:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a><br />
do you connect via ssh to your rasperry pi?<br />
then use this:<br />
DISPLAY=:0 nohup npm start</p>
]]></description><link>https://forum.magicmirror.builders/post/88365</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88365</guid><dc:creator><![CDATA[0m4r]]></dc:creator><pubDate>Fri, 12 Feb 2021 14:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:56:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> sorry, dont understand samsung desktop.</p>
<p dir="auto">using xwindows?</p>
<p dir="auto">showing the temples background?</p>
]]></description><link>https://forum.magicmirror.builders/post/88364</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88364</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:56:47 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:31:00 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 give code on the pi cmd</p>
]]></description><link>https://forum.magicmirror.builders/post/88363</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88363</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:31:00 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:28:10 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> no am running my own Samsung desktop I connect raspberry to that display</p>
]]></description><link>https://forum.magicmirror.builders/post/88362</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88362</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:28:10 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:19:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> are u running in desktop mode, or text mode command prompt.</p>
<p dir="auto">must be desktop mode, electron requires graphics mode</p>
]]></description><link>https://forum.magicmirror.builders/post/88360</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88360</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:19:18 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:09:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0m4r" aria-label="Profile: 0m4r">@<bdi>0m4r</bdi></a> <img src="/assets/uploads/files/1613135298317-f1987bcd-5237-4490-8790-addce00864a2-image.png" alt="f1987bcd-5237-4490-8790-addce00864a2-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">i dont know what is the software that is being fresher in this</p>
]]></description><link>https://forum.magicmirror.builders/post/88359</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88359</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:09:24 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:06:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> yeah, thanks, but what operating system?</p>
]]></description><link>https://forum.magicmirror.builders/post/88358</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88358</guid><dc:creator><![CDATA[0m4r]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:06:44 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:06:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0m4r" aria-label="Profile: 0m4r">@<bdi>0m4r</bdi></a> raspberry pi 4</p>
]]></description><link>https://forum.magicmirror.builders/post/88357</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88357</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:06:01 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 13:04:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> what is the Os you have installed it on? it it is the “lite” version it will not work. Electron requires a GUI interface to run</p>
]]></description><link>https://forum.magicmirror.builders/post/88356</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88356</guid><dc:creator><![CDATA[0m4r]]></dc:creator><pubDate>Fri, 12 Feb 2021 13:04:26 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 12:19:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0m4r" aria-label="Profile: 0m4r">@<bdi>0m4r</bdi></a> when am running in the server its working but when am try to run in the local its not working</p>
]]></description><link>https://forum.magicmirror.builders/post/88355</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88355</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Fri, 12 Feb 2021 12:19:18 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 12:08:43 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 />
Yes am in that folder only before start the magic mirror i use this steps: npm install after that npm run</p>
<p dir="auto">but error look like the same check bellow</p>
<p dir="auto">pi@raspberrypi:~/MagicMirror $ npm start</p>
<blockquote>
<p dir="auto">magicmirror@2.14.0 start /home/pi/MagicMirror<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js</p>
</blockquote>
<p dir="auto">/home/pi/MagicMirror/node_modules/electron/index.js:14<br />
throw new Error(‘Electron failed to install correctly, please delete node_modules/electron and try installing again’)<br />
^</p>
<p dir="auto">Error: Electron failed to install correctly, please delete node_modules/electron and try installing again<br />
at getElectronPath (/home/pi/MagicMirror/node_modules/electron/index.js:14:11)<br />
at Object. (/home/pi/MagicMirror/node_modules/electron/index.js:18:18)<br />
at Module._compile (internal/modules/cjs/loader.js:1063:30)<br />
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)<br />
at Module.load (internal/modules/cjs/loader.js:928:32)<br />
at Function.Module._load (internal/modules/cjs/loader.js:769:14)<br />
at Module.require (internal/modules/cjs/loader.js:952:19)<br />
at require (internal/modules/cjs/helpers.js:88:18)<br />
at Object. (/home/pi/MagicMirror/node_modules/electron/cli.js:3:16)<br />
at Module._compile (internal/modules/cjs/loader.js:1063:30)<br />
npm ERR! code ELIFECYCLE<br />
npm ERR! errno 1<br />
npm ERR! magicmirror@2.14.0 start: <code>DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js</code><br />
npm ERR! Exit status 1<br />
npm ERR!<br />
npm ERR! Failed at the magicmirror@2.14.0 start script.<br />
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br />
npm ERR!     /home/pi/.npm/_logs/2021-02-12T12_06_40_294Z-debug.log</p>
<p dir="auto">help me any one</p>
]]></description><link>https://forum.magicmirror.builders/post/88354</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88354</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Fri, 12 Feb 2021 12:08:43 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 12:04:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0m4r" aria-label="Profile: 0m4r">@<bdi>0m4r</bdi></a> yes i allready install whatin magic mirror doc i follow the same steps<br />
but its not working</p>
]]></description><link>https://forum.magicmirror.builders/post/88353</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88353</guid><dc:creator><![CDATA[Chethan]]></dc:creator><pubDate>Fri, 12 Feb 2021 12:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 11:48:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> you must be in the MagicMirror folder<br />
cd MagicMirror<br />
npm start</p>
]]></description><link>https://forum.magicmirror.builders/post/88352</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88352</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 12 Feb 2021 11:48:38 GMT</pubDate></item><item><title><![CDATA[Reply to I get error in magic mirror when am installing the magic mirror the cmd: npm run start on Fri, 12 Feb 2021 11:29:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chethan" aria-label="Profile: chethan">@<bdi>chethan</bdi></a> have you done an “npm install” before the “npm start”?</p>
]]></description><link>https://forum.magicmirror.builders/post/88351</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88351</guid><dc:creator><![CDATA[0m4r]]></dc:creator><pubDate>Fri, 12 Feb 2021 11:29:58 GMT</pubDate></item></channel></rss>