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 @sdetweil
      last edited by

      @sdetweil

      file /usr/local/bin/node
      /usr/local/bin/node: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=d6aa6eb3474758fb4e621dac8db78891d4f4c0ef, for GNU/Linux 3.2.0, with debug_info, not stripped, too many notes (256)

      Sorry,
      I hadn’t seen the message

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

        @Lockslay yeh, something installed the 64 bit v of node on your 32 bit system.

        let’s try this

        sudo apt-get remove nodejs
        

        then

         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 said in npm start Problem:

          node - v

          sudo apt-get remove nodejs
          __

          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/man/man7’ not empty so not removed
          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/man/man5’ not empty so not removed
          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/man/man1’ not empty so not removed
          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/lib/utils’ not empty so not removed
          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/docs/output/using-npm’ not empty so not removed
          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/docs/output/configuring-npm’ not empty so not removed
          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/docs/output/commands’ not empty so not removed
          dpkg: warning: while removing nodejs, directory ‘/usr/lib/node_modules/npm/bin’ not empty so not removed
          Processing triggers for man-db (2.9.4-2) …
          stefan@smartmirror:~ $ 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 ok, next

            sudo rm -rf /usr/lib/node_modules/npm
            sudo rm  /usr/local/bin/node
            which node  
            sudo apt-get remove nodejs
            hash -r
            which node
            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 Thanks for your help, isn’t it better to reinstall?
              I just realised that the config is no longer there either

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

                @Lockslay yes, probably.

                flash SD card
                boot
                skip updates
                use my script

                if u back up w my other script
                I will restore the config, css, and modules on top.of the new mm after install

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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