Read the statement by Michael Teeuw here.
Weather not working
-
-
-
That brought up module weather.js, Uncaught SyntaxError: unexpected token .
-
@KI6UVE what line number?
-
159
-
-
Used in the install script npm install-mm from the website instructions. nodejs version is 16.18.1
-
@KI6UVE hm… I think that is manual install …
my scripts (listed in alternative install section)
are here
https://github.com/sdetweil/MagicMirror_scriptsdid u ever edit the weather.js file?
if so, you can restore itcd ~/MagicMirror
git checkout modules/default/weather/weather.jswhat MM version are u running? 2.21 is current
cd ~/MagicMirror
grep version package.json -
Never edited the weather.js file. Ran the git checkout line and it said Updated 0 paths from index. Version is 2.21.0
I’ll do a complete redo tomorrow with your GitHub scripts on a fresh RPi OS install. I’ll post the result here.
-
@KI6UVE thx, really just need to rename the MM folder to some other name… then my script will run
I don’t think this is an OS problem
-
Thank you, I really appreciate all your help!!