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

I want to display txt files from outside at the bottom

Scheduled Pinned Locked Moved Custom CSS
30 Posts 2 Posters 6.8k Views 3 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.
  • 史 Offline
    史新瑞 @sdetweil
    last edited by Aug 14, 2022, 2:20 AM

    @sdetweil Is it the information in the terminal

    S 1 Reply Last reply Aug 14, 2022, 2:27 AM Reply Quote 0
    • S Offline
      sdetweil @史新瑞
      last edited by Aug 14, 2022, 2:27 AM

      @史新瑞 yes… you can redirect that to a file

      npm start >somefile.txt 2>&1

      wait…

      then ctrl-c

      then examine and post

      make sure to pm2 stop all before npm start

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      史 2 Replies Last reply Aug 14, 2022, 2:34 AM Reply Quote 0
      • 史 Offline
        史新瑞 @sdetweil
        last edited by Aug 14, 2022, 2:34 AM

        @sdetweil 1.png

        1 Reply Last reply Reply Quote 0
        • 史 Offline
          史新瑞 @sdetweil
          last edited by Aug 14, 2022, 2:37 AM

          @sdetweil Sorry, I can’t find the document you said.

          S 1 Reply Last reply Aug 14, 2022, 10:13 AM Reply Quote 0
          • S Offline
            sdetweil @史新瑞
            last edited by Aug 14, 2022, 10:13 AM

            @史新瑞 you must create it with the redirection operator >

            same as windows. you can capture the output of a command to a file

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            史 1 Reply Last reply Aug 14, 2022, 2:10 PM Reply Quote 0
            • 史 Offline
              史新瑞 @sdetweil
              last edited by Aug 14, 2022, 2:10 PM

              @sdetweil npm ERR! code ENOENT
              npm ERR! syscall open
              npm ERR! path /home/pi/package.json
              npm ERR! errno -2
              npm ERR! enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
              npm ERR! enoent This is related to npm not being able to find a file.
              npm ERR! enoent

              npm ERR! A complete log of this run can be found in:
              npm ERR! /home/pi/.npm/_logs/2022-08-14T14_09_00_102Z-debug-0.log

              S 1 Reply Last reply Aug 14, 2022, 2:11 PM Reply Quote 0
              • S Offline
                sdetweil @史新瑞
                last edited by Aug 14, 2022, 2:11 PM

                @史新瑞 again, not in the MagicMirror folder

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                史 1 Reply Last reply Aug 14, 2022, 2:13 PM Reply Quote 0
                • 史 Offline
                  史新瑞 @sdetweil
                  last edited by Aug 14, 2022, 2:13 PM

                  @sdetweil Thank you for your patient guidance

                  npm ERR! code ENOENT
                  npm ERR! syscall open
                  npm ERR! path /home/pi/package.json
                  npm ERR! errno -2
                  npm ERR! enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
                  npm ERR! enoent This is related to npm not being able to find a file.
                  npm ERR! enoent

                  npm ERR! A complete log of this run can be found in:
                  npm ERR! /home/pi/.npm/_logs/2022-08-14T14_13_06_562Z-debug-0.log

                  S 1 Reply Last reply Aug 14, 2022, 2:16 PM Reply Quote 0
                  • S Offline
                    sdetweil @史新瑞
                    last edited by Aug 14, 2022, 2:16 PM

                    @史新瑞 still not in the MagicMirror folder

                    cd ~/MagicMirror
                    npm start

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    史 1 Reply Last reply Aug 14, 2022, 2:19 PM Reply Quote 0
                    • 史 Offline
                      史新瑞 @sdetweil
                      last edited by Aug 14, 2022, 2:19 PM

                      @sdetweil Sorry, I misunderstood what you said just now

                      S 1 Reply Last reply Aug 14, 2022, 2:22 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        12/30
                        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