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.

    npm start Problem

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 2 Posters 4.0k 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.
    • L Offline
      Lockslay
      last edited by

      Hello everyone,

      After a few months I wanted to

      sudo npm start
      /usr/local/bin/node: 1: Syntax error: “)” unexpected
      What does this mean and how can I solve it?

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Lockslay
        last edited by

        @Lockslay NEVER use sudo

        cd ~/MagicMirror
        npm start
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          Lockslay @sdetweil
          last edited by sdetweil

          @sdetweil

          stefan@smartmirror:~ $ cd MagicMirror/
          stefan@smartmirror:~/MagicMirror $ npm start
          /usr/local/bin/node: 1: Syntax error: ")" unexpected](Link Adresse)
          

          Unfortunately, that doesn’t work either

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Lockslay
            last edited by

            @Lockslay can you do
            node - v

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            L 1 Reply Last reply Reply Quote 0
            • L Offline
              Lockslay @sdetweil
              last edited by

              @sdetweil
              node - v

              -bash: /usr/local/bin/node: cannot execute binary file: Exec format error
              
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Lockslay
                last edited by

                @Lockslay

                when was the last update to the system or MagicMirror?

                do

                nvm
                and
                n

                see if either respond… because node is in the local folder

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  Lockslay @sdetweil
                  last edited by

                  @sdetweil

                  Hello,

                  I did an apt update && apt upgrade today.
                  Everything else did not work after a reboot.

                  n
                  and nvm

                  command not found

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Lockslay
                    last edited by sdetweil

                    @Lockslay

                    little more debug

                    uname -a
                    lsb_release -a
                    file /bin/bash
                    file /usr/local/bin/node
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lockslay @sdetweil
                      last edited by

                      @sdetweil

                      uname -a
                      Linux smartmirror 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux

                      lsb_release -a
                      No LSB modules are available.
                      Distributor ID: Raspbian
                      Description: Raspbian GNU/Linux 11 (bullseye)
                      Release: 11
                      Codename: bullseye

                      file /bin/bash
                      /bin/bash: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=f12e6d40fb262ad0037b6ec43162208b76d4da71, for GNU/Linux 3.2.0, stripped

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Lockslay
                        last edited by

                        @Lockslay note I added an additional line

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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