• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Even a simple node_help.js example does not run.

Scheduled Pinned Locked Moved Unsolved Troubleshooting
13 Posts 2 Posters 2.5k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @emrhssla
    last edited by Apr 12, 2019, 1:27 PM

    @emrhssla sorry, I had a name of “sample” when I did it. I guess the - is not allowed

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    E 1 Reply Last reply Apr 12, 2019, 1:46 PM Reply Quote 0
    • S Offline
      sdetweil @emrhssla
      last edited by sdetweil Apr 12, 2019, 1:29 PM Apr 12, 2019, 1:28 PM

      @emrhssla that log is only from the module file. Not node_helper

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • E Offline
        emrhssla @sdetweil
        last edited by emrhssla Apr 12, 2019, 1:56 PM Apr 12, 2019, 1:46 PM

        @sdetweil

        {
          "name": "MMMTestpython",
          "description": "samples",
          "version": "0.0.1",
          "dependencies": {
            "python-shell": "latest"
          }
        }
        
        

        Do I have to change it like this and install it again? npm install

        0_1555077390063_231c85f3-9d06-4cd8-a2ec-fa08f4db34ee-image.png

        S 1 Reply Last reply Apr 12, 2019, 2:18 PM Reply Quote 0
        • S Offline
          sdetweil @emrhssla
          last edited by Apr 12, 2019, 2:18 PM

          @emrhssla I don’t understand… mine worked perfectly

          package.json

          {
            "name": "MMM-Testpython",
            "description": "sample",
            "keywords": [
              "   none"
            ],
            "version": "0.0.1",
            "dependencies": {
              "python-shell": "latest"
            }
          }
          
          /MagicMirror/modules/MMM-Testpython$ npm install
          npm WARN MMM-Testpython@0.0.1 No repository field.
          npm WARN MMM-Testpython@0.0.1 No license field.
          
          added 1 package from 1 contributor and audited 1 package in 0.821s
          found 0 vulnerabilities
          
          odroid@odroid:~/MagicMirror/modules/MMM-Testpython$
          

          what version of npm do you have

          npm -v

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 2 Replies Last reply Apr 12, 2019, 2:45 PM Reply Quote 0
          • E Offline
            emrhssla @sdetweil
            last edited by Apr 12, 2019, 2:45 PM

            This post is deleted!
            S 1 Reply Last reply Apr 12, 2019, 2:47 PM Reply Quote 0
            • S Offline
              sdetweil @emrhssla
              last edited by Apr 12, 2019, 2:47 PM

              @emrhssla no…

              mine is uppercase… oh well… anyhow u got it…

              same npm version

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • E Offline
                emrhssla @sdetweil
                last edited by Apr 12, 2019, 2:58 PM

                @sdetweil

                0_1555081065957_ef2bd581-f7e5-44c1-afc3-6df8fea70a50-image.png

                omg…

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil
                  last edited by sdetweil Apr 12, 2019, 3:40 PM Apr 12, 2019, 3:11 PM

                  Looks like your system doesn’t have python installed.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  1 / 2
                  • First post
                    10/13
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy