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.

    MM install New Pi OS error.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 3 Posters 699 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.
    • D Offline
      DJBOOB66
      last edited by

      Hi im trying to do a fresh install of MM on the new pi OS but keep getting this error.

      Removing libnode72:armhf (12.22.5~dfsg-2~11u1) ...
      (Reading database ... 164644 files and directories currently installed.)
      Preparing to unpack .../nodejs_14.18.1-deb-1nodesource1_armhf.deb ...
      Unpacking nodejs (14.18.1-deb-1nodesource1) over (12.22.5~dfsg-2~11u1) ...
      dpkg: error processing archive /var/cache/apt/archives/nodejs_14.18.1-deb-1nodes
      ource1_armhf.deb (--unpack):
       trying to overwrite '/usr/share/doc/nodejs/api/embedding.json.gz', which is als
      o in package nodejs-doc 12.22.5~dfsg-2~11u1
      dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
      Errors were encountered while processing:
       /var/cache/apt/archives/nodejs_14.18.1-deb-1nodesource1_armhf.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      
      1 Reply Last reply Reply Quote 0
      • B Offline
        bert269
        last edited by

        Try to install node.js v16 at least. I get the same problem as the installation instructions only states v14.
        Also, instead of the installation instructions, follow this link and run the script - I think that will install v16.
        [https://github.com/sdetweil/MagicMirror_scripts](link url)

        I got mine to work this afternoon with node.js v17, but developer said no-go v17 - so I do not know what to tell you. Mine works fine with v17 - well, most of the modules if I do not get a error:
        at Object. (/home/pi/MagicMirror/modules/…
        at Module._compile (internal/modules/cjs/loader.js:1078:30)
        at Object.Module._extensions…js
        internal/modules/cjs/loader.js:1108:10) {
        code: ‘MODULE_NOT_FOUND’,
        requireStack: [
        ‘/home/pi/MagicMirror/modules/MMM-…/node_helper.js’,
        ‘/home/pi/MagicMirror/js/app.js’,
        ‘/home/pi/MagicMirror/js/electron.js’,
        ‘/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js’,
        undefined

        in some modules.
        So there is obviously something going on with node.js.

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

          @bert269 said in MM install New Pi OS error.:

          code: ‘MODULE_NOT_FOUND’,

          no.

          that problem is this

          https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            DJBOOB66
            last edited by

            Thanks guy got it working.

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