Read the statement by Michael Teeuw here.
I'm getting error -MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied
-
@vpanse see
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-laterCannot find module ‘pinkie-promise’
-
or forgot to run
npm install
in the module folder of MMM-FlightsAbove -
I did many changes suggested in Form but still little different issue
[17.07.2023 05:21.57.786] [ERROR] (node:932) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘fetch-ponyfill’
Require stack:- /home/vinayak/MagicMirror/modules/MMM-FlightsAbove/lib/radar.js
- /home/vinayak/MagicMirror/modules/MMM-FlightsAbove/node_helper.js
- /home/vinayak/MagicMirror/js/app.js
- /home/vinayak/MagicMirror/js/electron.js
- /home/vinayak/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at Module._resolveFilename (node:internal/modules/cjs/loader:1082:15)
at n._resolveFilename (node:electron/js2c/browser_init:2:117469)
at Module._resolveFilename (/home/vinayak/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (node:internal/modules/cjs/loader:927:27)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1148:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/vinayak/MagicMirror/modules/MMM-FlightsAbove/lib/radar.js:36:17)
at Module._compile (node:internal/modules/cjs/loader:1269:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1324:10)
at Module.load (node:internal/modules/cjs/loader:1124:32)
at Module._load (node:internal/modules/cjs/loader:965:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Module.require (node:internal/modules/cjs/loader:1148:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/vinayak/MagicMirror/modules/MMM-FlightsAbove/node_helper.js:43:15)
(Useelectron --trace-warnings ...
to show where the warning was created)
[17.07.2023 05:21.57.787] [ERROR] (node:932) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a c>
-
@vpanse said in I'm getting error -MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied:
Cannot find module ‘fetch-ponyfill’
yes, unfortunately this module does not document in it’s package.json all the library dependencies it requires.
so, for each one you have to do
npm install xxxxx
where xxxxx is the missing library from the message above (in single quotes)the module hasn’t been updated since 2018, so no idea if it still works after all that
your other post was marked as spam, which I cannot override
-
Excellent, It works now . thanks a lot ,