Read the statement by Michael Teeuw here.
MMM-WifiPassword, oudated ?
-
Load script: modules/MMM-WiFiPassword/MMM-WiFiPassword.js
:8080/modules/MMM-Wi…M-WiFiPassword.js:1
Failed to load resource: the server responded with a status of 404 (Not Found)
localhost/:1 Refused to execute script from ‘http://localhost:8080/modules/MMM-WiFiPassword/MMM-WiFiPassword.js’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.
loader.js:168 Error on loading script: modules/MMM-WiFiPassword/MMM-WiFiPassword.js -
Hi Sam,
I send the message from browser in a separate post, because.
It´s seems that there ios a bug in my configuration.Look at my other answer please.
thanks
Jochen
-
@Jben1969 very interesting. We added checks for missing files in this release, so this type error should not occur
Can you do
cd ~/MagicMirror/modules ls -laF cd MMM-WifiPassword ls -laFAnd post the results, maybe it’s a permissions problem
-
raspberry@MagicMirror2:~/MagicMirror/modules $ ls -laF
insgesamt 76
drwxr-xr-x 19 raspberry raspberry 4096 30. Aug 14:22 ./
drwxr-xr-x 17 raspberry raspberry 4096 27. Aug 00:23 …/
drwxr-xr-x 10 raspberry raspberry 4096 4. Mai 17:58 default/
drwxr-xr-x 6 raspberry raspberry 4096 4. Mai 17:10 MMM-CalendarExt3/
drwxr-xr-x 5 raspberry raspberry 4096 24. Feb 2024 MMM-CalendarExt3Agenda/
drwxr-xr-x 8 raspberry raspberry 4096 22. Mär 15:27 MMM-Fuel/
drwxr-xr-x 13 raspberry raspberry 4096 10. Feb 2024 MMM-GoogleAssistant/
drwxr-xr-x 5 raspberry raspberry 4096 21. Mär 16:39 MMM-GoogleCalendar/
drwxr-xr-x 5 raspberry raspberry 4096 10. Feb 2024 MMM-GoogleMapsTraffic/
drwxr-xr-x 6 raspberry raspberry 4096 10. Feb 2024 MMM-GooglePhotos/
drwxr-xr-x 3 raspberry raspberry 4096 27. Aug 00:12 MMM-GuestWifiQR/
drwxr-xr-x 6 raspberry raspberry 4096 10. Feb 2024 MMM-MQTT/
drwxr-xr-x 4 raspberry raspberry 4096 10. Feb 2024 MMM-OpenmapWeather/
drwxr-xr-x 6 raspberry raspberry 4096 16. Jun 17:44 MMM-OpenWeatherMapForecast/
drwxr-xr-x 10 raspberry raspberry 4096 21. Mär 17:14 MMM-Pir/
drwxr-xr-x 4 raspberry raspberry 4096 23. Feb 2024 MMM-PIR-Sensor/
drwxr-xr-x 10 raspberry raspberry 4096 22. Mär 17:00 MMM-soccer/
drwxr-xr-x 4 raspberry raspberry 4096 18. Feb 2024 MMM-Wallpaper/
drwxr-xr-x 4 raspberry raspberry 4096 5. Sep 12:57 MMM-WifiPassword/
raspberry@MagicMirror2:~/MagicMirror/modules $ cd MMM-WifiPassword
raspberry@MagicMirror2:~/MagicMirror/modules/MMM-WifiPassword $ ls -laF
insgesamt 80
drwxr-xr-x 4 raspberry raspberry 4096 5. Sep 12:57 ./
drwxr-xr-x 19 raspberry raspberry 4096 30. Aug 14:22 …/
drwxr-xr-x 8 raspberry raspberry 4096 30. Aug 23:43 .git/
drwxr-xr-x 3 raspberry raspberry 4096 30. Aug 14:22 .github/
-rw-r–r-- 1 raspberry raspberry 6 30. Aug 14:22 .gitignore
-rw-r–r-- 1 raspberry raspberry 1061 30. Aug 14:22 LICENSE
-rw-r–r-- 1 raspberry raspberry 266 30. Aug 14:22 MMM-WiFiPassword.css
-rw-r–r-- 1 raspberry raspberry 4482 5. Sep 12:57 MMM-WiFiPassword.js
-rw-r–r-- 1 raspberry raspberry 13901 30. Aug 14:22 mm.png
-rw-r–r-- 1 raspberry raspberry 19927 30. Aug 14:22 qrcode.min.js
-rw-r–r-- 1 raspberry raspberry 2697 30. Aug 14:22 README.md
-rw-r–r-- 1 raspberry raspberry 804 30. Aug 14:22 WifiPasswordModal.njk -
@Jben1969 is MagicMirror running under the raspberry userid?
if using pm2 do
pm2 stop allthen
cd ~/Magicmirror
npm start -
@Jben1969 also, what are the MM config.js settings for
address: port: ipWhitelist: -
@Jben1969 did you get this resolved
-
Hello,
today I have tried your suggestions and I have got an error about the WifiModule:[2024-09-22 14:05:39.718] [LOG] Loading module helpers …
[2024-09-22 14:05:39.722] [WARN] No /home/raspberry/MagicMirror/js/…/modules/MMM-WiFiPassword/MMM-WiFiPassword.js found for module: MMM-WiFiPassword.
[2024-09-22 14:05:39.723] [LOG] No helper found for module: MMM-WiFiPassword.
[2024-09-22 14:05:39.726] [LOG] No helper found for module: alert.
[2024-09-22 14:05:39.754] [LOG] Initializing new module helper …
[2024-09-22 14:05:39.757] [LOG] Module helper loaded: updatenotification
[2024-09-22 14:05:39.760] [LOG] No helper found for module: clock.
[2024-09-22 14:05:40.214] [LOG] Initializing new module helper …
[2024-09-22 14:05:40.215] [LOG] Module helper loaded: calendar
[2024-09-22 14:05:40.217] [LOG] No helper found for module: weather.
[2024-09-22 14:05:41.114] [LOG] Initializing new module helper …
[2024-09-22 14:05:41.115] [LOG] Module helper loaded: MMM-Wallpaper
[2024-09-22 14:05:41.117] [LOG] No helper found for module: MMM-CalendarExt3.
[2024-09-22 14:05:41.118] [LOG] All module helpers loaded.
[2024-09-22 14:05:41.135] [LOG] Starting server on port 8080 …
[2024-09-22 14:05:41.177] [WARN] You’re using a full whitelist configuration to allow for all IPs
[2024-09-22 14:05:46.656] [LOG] Server started …adress : localhost
port: 8080
ipWhitelist: []Jochen
-
@Jben1969
No /home/raspberry/MagicMirror/js/…/modules/MMM-WiFiPassword/MMM-WiFiPassword.js found for module: MMM-WiFiPassword.this sounds like a permissions problem
can you do
cd ~/MagicMirror/modules ls MMM-WiFiPassword -laF -
Shame on me, the name of the folder was not right, the capital F of WiFi was a small f.
Now everthing is allright, it shows a nice QR-Code of my Guest WiFi.Thank you so much.
Jochen
-
J Jben1969 has marked this topic as solved on
-
@Jben1969 awesome
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login