Bonjour,
Je rencontre le problème suivant depuis le passage en Debian 11 et màj de jeedom :
Impossible de charger la ressource "http://192.168.0.26", car elle va contre la directive de Content Security Policy :
"frame-src 'self' *.jeedom.com *.google.com *.google.fr *.googleapis.com data:"
J’ai bien lu quelques posts avec des explications incluant la modification du fichier intall/apache_security mais concernant d’autres cas de figures mais rien n’incluant ce plugin en particulier.
Avant de jouer aux apprentis sorciers je préfère recueillir les conseils.
Voici le fichier log ESPEasy_node à toute fin utile :
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module 'request'
Require stack:
- /var/www/html/plugins/espeasy/resources/espeasy.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/var/www/html/plugins/espeasy/resources/espeasy.js:3:15)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/var/www/html/plugins/espeasy/resources/espeasy.js' ]
}
Node.js v20.18.0
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module 'request'
Require stack:
- /var/www/html/plugins/espeasy/resources/espeasy.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/var/www/html/plugins/espeasy/resources/espeasy.js:3:15)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/var/www/html/plugins/espeasy/resources/espeasy.js' ]
}
Node.js v20.18.0
Server running
Server running
Server running