goal !
css-file:
modulname .image {
background-image: url (“/modules/…/nnn.png”);
background-repeat: no-repeat;
background position: top left;
}
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Best posts made by Perlchamp
-
RE: background-image
Latest posts made by Perlchamp
-
RE: sqlite - anyone use it?
@bobt
did u find a solution for your problem ? -
RE: npm ERR! missing script: start
yes, of course. thank you
this did install the node_module folder in my module folder -
npm ERR! missing script: start
as the heading says, i have a problem starting my module. npm start causes the following error:
npm ERR! missing script: start
here is my package.json file:{ "name": "emetalcharts", "version": "1.0.0", "description": "charting commodity prices", "main": "emetalcharts.js", "private": "true", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/sdetweil/SampleModule.git" }, "author": "", "license": "MIT", "bugs": { "url": "https://github.com/sdetweil/SampleModule/issues" }, "homepage": "https://github.com/sdetweil/SampleModule#readme", "dependencies": { "chart.js": "^2.5.0", "sqlite3": "^4.2.0" } }
the following is recommended on many websites:
"scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start" : "node ." },
this then causes the following error message :
Module.register("emetalcharts", { ^ ReferenceError: Module is not defined
I’m done. Who can help me ?
could it also be a version conflict?
my versions:$ node --version v10.20.1 $ npm --version 6.14.5
Thanks in advance
so long -
RE: read csv-data and put it in an array
it WORKS ! now i hope to find the error :-)
-
RE: read csv-data and put it in an array
ok, the blacksreen is gone, works, but no css
-
RE: read csv-data and put it in an array
thank you very much. yes i need more expirience of debugging. it’s my second day i use it, sorry sam. AND MANY THANKS.