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.

    Failed to install dependencies, while trying to install MM2

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 3 Posters 714 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.
    • M Offline
      MaikH1
      last edited by

      I tried different methods of installing MM, still without succes.
      See below the response i’m getting

      pi@raspberry:~ $ npm install

      /usr/local/lib/node_modules/npm/bin/npm-cli.js:87
      let notifier = require(‘update-notifier’)({pkg})
      ^^^^^^^^
      SyntaxError: Unexpected identifier
      at Module._compile (module.js:439:25)
      at Object.Module._extensions…js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Function.Module.runMain (module.js:497:10)
      at startup (node.js:119:16)
      at node.js:906:3

      Anyone any id what to do?

      Re: Failed to install dependencies RPI3 B+

      S 1 Reply Last reply Reply Quote 0
      • swvalentiS Offline
        swvalenti Project Sponsor
        last edited by

        bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
        

        Delete MM folder or rename it and run this install script from @sdetweil

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

          @MaikH1 delete the MagicMirror folder and run the installation script from here
          https://github.com/sdetweil/MagicMirror_scripts

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • M Offline
            MaikH1
            last edited by

            Thanks for the help, really appreciate it.

            That’s what I did, this is the whole message:

            pi@raspberry:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”

            $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
            $$$\ $$$ | _| $$$\ $$$ |_| $$ $$
            $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
            $$$$$$ $$ | _
            $$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
            $$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
            $$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
            $$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
            _
            | _
            | _
            | _
            $$ |_| _
            |_| _|_|_| __| _
            / _| _______|
            $$\ $$ |
            $$$$$$ |
            _
            ____/

            install log being saved to /home/pi/install.log
            this appears not to be a Raspberry Pi 2, 3 or 4, do you want to continue installation (y/N)?y
            Updating packages …
            Installing helper tools …
            Check current Node installation …
            Node currently installed. Checking version number.
            Minimum Node version: v10.1.0
            Installed Node version: v0.10.29
            Node should be upgraded.
            Installing Node.js …
            Reading package lists… Done
            Building dependency tree
            Reading state information… Done
            nodejs is already the newest version.
            The following package was automatically installed and is no longer required:
            libuuid-perl
            Use ‘apt-get autoremove’ to remove it.
            0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
            node version is
            Node.js installation Done! version=v0.10.29
            Check current NPM installation …
            NPM currently installed. Checking version number.

            /usr/local/lib/node_modules/npm/bin/npm-cli.js:87
            let notifier = require(‘update-notifier’)({pkg})
            ^^^^^^^^
            SyntaxError: Unexpected identifier
            at Module._compile (module.js:439:25)
            at Object.Module._extensions…js (module.js:474:10)
            at Module.load (module.js:356:32)
            at Function.Module._load (module.js:312:12)
            at Function.Module.runMain (module.js:497:10)
            at startup (node.js:119:16)
            at node.js:906:3
            Minimum npm version: V6.0.0
            Installed npm version: V
            npm should be upgraded.
            Installing npm …

            /usr/local/lib/node_modules/npm/bin/npm-cli.js:87
            let notifier = require(‘update-notifier’)({pkg})
            ^^^^^^^^
            SyntaxError: Unexpected identifier
            at Module._compile (module.js:439:25)
            at Object.Module._extensions…js (module.js:474:10)
            at Module.load (module.js:356:32)
            at Function.Module._load (module.js:312:12)
            at Function.Module.runMain (module.js:497:10)
            at startup (node.js:119:16)
            at node.js:906:3

            /usr/local/lib/node_modules/npm/bin/npm-cli.js:87
            let notifier = require(‘update-notifier’)({pkg})
            ^^^^^^^^
            SyntaxError: Unexpected identifier
            at Module._compile (module.js:439:25)
            at Object.Module._extensions…js (module.js:474:10)
            at Module.load (module.js:356:32)
            at Function.Module._load (module.js:312:12)
            at Function.Module.runMain (module.js:497:10)
            at startup (node.js:119:16)
            at node.js:906:3
            npm installation Done! version=V
            Cloning MagicMirror …
            Cloning into ‘MagicMirror’…
            remote: Enumerating objects: 284, done.
            remote: Counting objects: 100% (284/284), done.
            remote: Compressing objects: 100% (223/223), done.
            remote: Total 284 (delta 53), reused 136 (delta 48), pack-reused 0
            Receiving objects: 100% (284/284), 386.02 KiB | 0 bytes/s, done.
            Resolving deltas: 100% (53/53), done.
            Checking connectivity… done.
            Cloning MagicMirror Done!
            Installing dependencies …

            /usr/local/lib/node_modules/npm/bin/npm-cli.js:87
            let notifier = require(‘update-notifier’)({pkg})
            ^^^^^^^^
            SyntaxError: Unexpected identifier
            at Module._compile (module.js:439:25)
            at Object.Module._extensions…js (module.js:474:10)
            at Module.load (module.js:356:32)
            at Function.Module._load (module.js:312:12)
            at Function.Module.runMain (module.js:497:10)
            at startup (node.js:119:16)
            at node.js:906:3
            Unable to install dependencies!

            I’m kinda lost here, not sure where the error comes from.

            1 Reply Last reply Reply Quote 0
            • swvalentiS Offline
              swvalenti Project Sponsor
              last edited by

              Use the below raspberry imager and do a fresh install of raspbian and then try the installer from Sam.

              https://www.raspberrypi.org/downloads/

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

                @swvalenti nd use the full desktop buster image

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MaikH1
                  last edited by

                  So not the Raspberry Pi OS (32-bit), but the Raspberry Pi OS Full (32-bit)? ,
                  I’ll try that thank you, last time I used the first one.

                  I’ll be back :), hopefully with good news.

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

                    @MaikH1 correct.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MaikH1
                      last edited by

                      Hmm still no good news.
                      For some reason when I make the image USB with the Full image it isn’t bootable.
                      I tried it with three different USB sticks and wrote the sticks from two different pc’s, but when I try booting/installing from this USB it won’t start. It just gives me the message no bootable device.

                      When I switch to the old USB (with the Raspberry Pi OS (32-bit), it works immediately.
                      Any ideas what I’m doing wrong?

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

                        @MaikH1 make sure u didn’t get the 64 bit version.

                        should be the 1st entry here
                        https://www.raspberrypi.org/downloads/raspberry-pi-os/

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • 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