• 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
  1. Home
  2. Mareus
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
M
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 2
  • Groups 0

Mareus

@Mareus

0
Reputation
589
Profile views
2
Posts
0
Followers
0
Following
Joined Jan 6, 2017, 9:18 PM
Last Online Jan 8, 2017, 7:43 PM

Mareus Unfollow Follow

Latest posts made by Mareus

  • RE: [MMM-PIR-Sensor] Install failing

    Yes i tried sudo, as well as npm install -g (also together with sudo).

    posted in Troubleshooting
    M
    Mareus
    Jan 8, 2017, 7:43 PM
  • [MMM-PIR-Sensor] Install failing

    Hi,

    First of all: I am a total newbie to Linux and MagicMirror. I now tried to install the MMM-PIR-Module on my Pi3 an no matter what I am doing, i am always getting the same error:

    npm WARN prefer global node-gyp@3.4.0 should be installed with -g
    
    epoll@0.1.20 install /home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll
    node-gyp rebuild
    
    make: Entering directory '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build'
      CXX(target) Release/obj.target/epoll/src/epoll.o
      SOLINK_MODULE(target) Release/obj.target/epoll.node
      COPY Release/epoll.node
    make: Leaving directory '/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/epoll/build'
    
    Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall /home/pi/MagicMirror/modules/MMM-PIR-Sensor
    electron-rebuild -e ../../node_modules/electron-prebuilt
    
    module.js:471
        throw err;
        ^
    
    Error: Cannot find module 'bluebird'
        at Function.Module._resolveFilename (module.js:469:15)
        at Function.Module._load (module.js:417:25)
        at Module.require (module.js:497:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/electron-rebuild/lib/cli.js:8:17)
        at Module._compile (module.js:570:32)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
    
    npm ERR! Linux 4.4.38-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
    npm ERR! node v6.9.4
    npm ERR! npm  v3.10.10
    npm ERR! code ELIFECYCLE
    npm ERR! Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall: `electron-rebuild -e ../../node_modules/electron-prebuilt`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the Magic-Mirror-Module-PIR-Sensor@1.1.0 postinstall script 'electron-rebuild -e ../../node_modules/electron-prebuilt'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the Magic-Mirror-Module-PIR-Sensor package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     electron-rebuild -e ../../node_modules/electron-prebuilt
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs Magic-Mirror-Module-PIR-Sensor
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls Magic-Mirror-Module-PIR-Sensor
    npm ERR! There is likely additional logging output above.
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /home/pi/MagicMirror/modules/MMM-PIR-Sensor/npm-debug.log
    

    Does someone have a solution for me?

    Thank you very much!

    Best regards,

    Mareus

    posted in Troubleshooting
    M
    Mareus
    Jan 6, 2017, 9:22 PM
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