Read the statement by Michael Teeuw here.
MMM-Swipe - Hand gestures
-
@BeLuGe Try running
rm -rf node_modules/
inside the MMM-Swipe folder then runningnpm install
again. -
@mochman I have delete the directory and install the packages with
npm install
And I have reinstall the complete Raspberry and install only your module.
The error is still there -
I can’t help you then. That was my last option. I don’t receive that error nor do I know what that error means.
-
@mochman and @BeLuGe can you tell us what are the versions you are using :
Raspbian Jessie or Wheezy, which version of nodes, npm … ?
From where are you running npm start (local, ssh) using sudo or not ?
I have the same issue as @BeLuGe and I would like to debug/understand what’s is the problem.
I already red it could be a nodejs version issue (compiling vs running version)
So guys tell us what are your configurationHere is mine :
Rpi 3 updated firmware with rpi-update
Raspbian Jessie last version (apt-get update && upgrade && dist-upgrade)
Nodejs last version 6.5.0 ARM version (not sure if it’s 64 bit or 32 bit) from https://nodejs.org
Then install of MM and packages
MM is working fine until I add MMM-Swipe module configuration then got same error message about
Error: Module version mismatch. Expected 49, got 48.Hope we will find the solution …
-
@bob123bob I use Raspbian Jessie last version, Nodejs 6.5.0.
I have test it with Nodejs 5.11.1, the same issue.
I run MM without sudo. -
I’m running:
RasPi 3 with Jessie
NodeJs 6.7.0
Fully updated withsudo apt-get update sudo apt-get dist-upgrade sudo rpi-update
I just removed the entire MMM-Swipe Folder
cd ~/MagicMirror/modules/ git clone https://github.com/mochman/MMM-Swipe cd MMM-Swipe/ npm install cd ~/MagicMirror/ sudo npm start
I don’t get any of those errors. I don’t know what module version 49 is?
-
@mochman Similar issue here. They changed the package.json to fix it. Seems to be a problem with a new Electron version.
You would only get this error if you newly install Magic Mirror (
npm install
in theMagicMirror
folder gets the new package, if you want to reproduce it). -
@Jopyth Thanks! I was able to reproduce the error. I updated the package.json file and it runs correctly.
-
Did you try to use the HR-SR04 behind the mirror glas? I would like to use it like that but don’t know if the ultrasonic sensor will work behind the glas.
-
No, I have some speakers behind some speaker mesh. I put the sensors behind the mesh.