A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
-
@rakostamas run
npm start dev
to open the development screen, select the console tab… are there any errors (in red) shown?
-
@sdetweil
Yes it seems :D -
wrong folder… in MagicMirror always for start. not module folder
-
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start', 'dev' ] 2 info using npm@6.6.0 3 info using node@v9.11.2 4 verbose stack Error: missing script: start 4 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:155:19) 4 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:63:5 4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5 4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:418:5 4 verbose stack at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:373:45) 4 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:416:3) 4 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5) 4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:364:12 4 verbose stack at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:90:16 4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:525:3) 5 verbose cwd /home/pi/MagicMirror/modules/MMM-Fuel 6 verbose Linux 4.14.79-v7+ 7 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" "dev" 8 verbose node v9.11.2 9 verbose npm v6.6.0 10 error missing script: start 11 verbose exit [ 1, true ]
-
@rakostamas said in MMM-Fuel:
/home/pi/MagicMirror/modules/MMM-Fuel
please do
cd ~/MagicMirror
then
npm start dev
-
Yes I got errors.
GET http://localhost:8080/modules/MMM-Fuel//MMM-Fuel.js net : : ERR_CACHE_READ_FAILURE Error on loading script: modules/MMM-Fuel//MMM-Fuel.js
-
sorry, I do not know why reading from the local disk would fail with cache read failure error
-
@rakostamas as @sdetweil already mentioned you need to start the mirror not the module.
cd ~/MagicMirror && npm start dev
-
@strawberry-3-141
yes, I have opened it, and I got the errors what I wrote in my last comment -
@rakostamas did you check that the file exists? Maybe something went wrong during the cloning of the module