Read the statement by Michael Teeuw here.
Update fail
-
@JerryP the two modules failing are because of the black screen issue.
-
@sdetweil said in Update fail:
@JerryP the two modules failing are because of the black screen issue.
pi@raspberrypi:~/MagicMirror/modules $ grep -r -E '('request') | ('valid-url')' ~/MagicMirror/modules/*/*.js /home/pi/MagicMirror/modules/MMM-MercedesMe/node_helper.js:const request = require('request'); /home/pi/MagicMirror/modules/MMM-MercedesMe/node_helper.js: * Handles the auth request endpoint, should be call by clicking on authenticate link /home/pi/MagicMirror/modules/MMM-MercedesMe/OAuth.js:const request = require('request'); /home/pi/MagicMirror/modules/MMM-Screencast/DialServer.js: console.log("Got request to stop", appName," with pid: ", pid); /home/pi/MagicMirror/modules/MMM-Spotify/Spotify.js: console.error(this.logMessage, "Failed to request API:", api) /home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.js:var request = require('request');
SO MMM-screencast is working and MMM-Spotify is working.
-
this great scripts from @sdetweil work :
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” applyThanks alot @sdetweil
-
@Assassins said in Update fail:
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
is not working -
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
So this one is working. But the problem is still the same…
-
@JerryP the ‘fix’ is to install the request library in EACH module that uses it
-
@JerryP also for upgrade you have to add
apply
to actually DO the upgrade
and if u already did the upgrade, but want to redo, then you have to add
force
-
@sdetweil
checking for modules with removed librariesrequire for request in module MMM-SystemStats not found in package.json package.json for module MMM-SystemStats bypass installing request for module MMM-SystemStats , doing test run require for request in module MMM-MercedesMe not found in package.json package.json for module MMM-MercedesMe bypass installing request for module MMM-MercedesMe , doing test run
processing dependency changes for active modules with package.json files
-
so where must I force it
-
@JerryP add the word
force
to the end of the
curl…
statementjust like the example using apply