@cfenner I have commit for purpose un dev branch, I will see main code maybe I will made some change this week.
Naturally, I will push it soon ;)
Thx for your purpose :)
@cfenner I have commit for purpose un dev branch, I will see main code maybe I will made some change this week.
Naturally, I will push it soon ;)
Thx for your purpose :)
I have already try to allow multi insence but TB sever refuse it
So, I can’t do something for this
Hi, many developer don’t know what is package.json file
in your case, this command need package-lock.json (auto generated by npm install or by developer)
Many, many modules are not maintened, i don’t think it’s very usable (maybe module need some new system tools before this command)
@karsten13 mouahmouah… I’m a Magician…
Wow You have shared one link of my app!!
@thad said in Trying to update node.js fails:
E: Repository ‘http://archive.raspberrypi.org/debian buster InRelease’ changed its ‘Suite’ value from ‘testing’ to ‘oldstable’
E: Repository ‘http://raspbian.raspberrypi.org/raspbian buster InRelease’ changed its ‘Suite’ value from ‘stable’ to ‘oldstable’
@sdetweil : to correct this:
sudo apt-get --allow-releaseinfo-change update
(I’m really so kind, this cannot last !!! :dizzy_face: )
@susl :
to verify, try this in a terminal (or ssh):
node -v
npm -v
@lhops said in electron-rebuild and MagicMirror v2.18 (and more):
npm ERR! JSON.parse “name”: "Magic-Mirror-Module-PIR-Sen’
If you have modified the “package.json” file … and you do not respect the syntax.
here is the result ;)
(Info: it is not like this that we rename a module)
to correct your issue try this:
cd ~/MagicMirror/modules/MMM-PIR-Sensor
rm -rf node_modules package-lock.json
git reset --hard HEAD
npm install magicmirror-rebuild --save
npm remove electron-rebuild
npm install
(Sometime, i’m very kind… So kind for me)
@lhops said in electron-rebuild and MagicMirror v2.18 (and more):
I get an error when " ~/node_modules $ ~/.bin/MagicMirror-rebuild"
execute ./node_modules/.bin/MagicMirror-rebuild INSIDE the module directory ;)
not inside other directory ;)
Note :
cd ~/MagicMirror/modules
MMM-PIR-Sensor module (for example):cd MMM-PIR-Sensor
magicmirror-rebuildnpm i magicmirror-rebuild
MagicMirror-rebuild program./node_modules/.bin/MagicMirror-rebuild
you will see MagicMirror Rebuild Complete
it’s done ;)