MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. MichaelTomTom
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    MichaelTomTom

    @MichaelTomTom

    0
    Reputation
    347
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    MichaelTomTom Unfollow Follow

    Latest posts made by MichaelTomTom

    • access filesystem

      Hello,
      I change an existing module (MMM-EasyPix) for my needs and therefor need to know all files in a directory. But when I insert a

      const fs = require( 'fs');
      

      at the beginning of the code so I could call

      fs.readdirSync()
      

      the whole module seems to crash
      Where is the error??

      Thanx for any help

      posted in Development
      M
      MichaelTomTom