MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Perlchamp
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 171
    • Best 1
    • Controversial 0
    • Groups 0

    Perlchamp

    @Perlchamp

    1
    Reputation
    57
    Profile views
    171
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Germany

    Perlchamp Unfollow Follow

    Best posts made by Perlchamp

    • RE: background-image

      goal !
      css-file:
      modulname .image {
      background-image: url (“/modules/…/nnn.png”);
      background-repeat: no-repeat;
      background position: top left;
      }

      posted in Utilities
      Perlchamp
      Perlchamp

    Latest posts made by Perlchamp

    • RE: sqlite - anyone use it?

      @bobt
      did u find a solution for your problem ?

      posted in Feature Requests
      Perlchamp
      Perlchamp
    • RE: npm ERR! missing script: start

      yes, of course. thank you.

      posted in Troubleshooting
      Perlchamp
      Perlchamp
    • RE: npm ERR! missing script: start

      yes, of course. thank you
      this did install the node_module folder in my module folder

      posted in Troubleshooting
      Perlchamp
      Perlchamp
    • 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

      posted in Troubleshooting
      Perlchamp
      Perlchamp
    • RE: read csv-data and put it in an array

      work’s, too 🙂 , sam

      posted in Utilities
      Perlchamp
      Perlchamp
    • RE: read csv-data and put it in an array

      it WORKS ! now i hope to find the error 🙂

      posted in Utilities
      Perlchamp
      Perlchamp
    • RE: read csv-data and put it in an array

      ok, thanks

      posted in Utilities
      Perlchamp
      Perlchamp
    • RE: read csv-data and put it in an array

      ok, the blacksreen is gone, works, but no css

      posted in Utilities
      Perlchamp
      Perlchamp
    • RE: read csv-data and put it in an array

      ok, will collect some experience …

      posted in Utilities
      Perlchamp
      Perlchamp
    • 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.

      posted in Utilities
      Perlchamp
      Perlchamp