• 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.

console.log in getDom

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 5 Posters 2.2k Views 4 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.
  • K Offline
    kiki99
    last edited by Oct 29, 2017, 9:35 PM

    Hi Forum ;)
    Is it possible, that console.log and log.Info does not work in getDom? I did not get any Output. Is there a way?

    Many Tanks fort each tip :)

    Best regards k.

    S 1 Reply Last reply Oct 29, 2017, 9:43 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @kiki99
      last edited by Oct 29, 2017, 9:43 PM

      @kiki99 where did you check for logs? those ones are in the browser/electron window and not in the terminal as the ones in the nodehelper

      Please create a github issue if you need help, so I can keep track

      1 Reply Last reply Reply Quote 2
      • C Offline
        cowboysdude Module Developer
        last edited by Oct 29, 2017, 9:47 PM

        When you do a console log in the developer window it shows up there…

        When you do a console.log in node_helper it shows up in the terminal window that you loaded MM by using npm start…

        Hope that helps.

        1 Reply Last reply Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by Oct 29, 2017, 9:54 PM

          I’m gonna jump right in here, right after the two geniuses. :-)

          0_1509314057817_33.JPG

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • K Offline
            kiki99
            last edited by Oct 30, 2017, 4:31 PM

            Okay, many thanks at first for that.

            But is there a way to get the output from the “console of the browser” when i start it via npm start? In the npm log there is nothing.

            It’s a bigger structure so i can’t simple add it to the wrapper, or can i? ;))

            Best Regards.

            ? 1 Reply Last reply Oct 30, 2017, 5:26 PM Reply Quote 0
            • ? Offline
              A Former User @kiki99
              last edited by Oct 30, 2017, 5:26 PM

              @kiki99
              I think it might be related with electron. You can pipe whole electron console output to file or others. But I didn’t test. Check this.
              https://github.com/dustinblackman/winston-electron/blob/master/README.md

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                5/6
                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