Hello,
Cela fait un bout de temps que je tourne en V3 et que je n’ai plus les update, avec un peu de temps devant moi je me decide a passer en V4 et voila les soucis arrivent …
mon plugin mysensors ne demarre plus j’ai l’erreur suivante:
Mon Jun 06 2022 21:49:04 GMT+0200 (Central European Summer Time) - Jeedom url : http://127.0.0.1:80/plugins/mySensors/core/api/jeeSensors.php?apikey=XXX&gateway=master, gwAddress : /dev/ttyUSB0
Connection type serial
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'serialport'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at launchGateway (/var/www/html/plugins/mySensors/resources/mysensors.js:229:19)
at Object. (/var/www/html/plugins/mySensors/resources/mysensors.js:306:1)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
les dépendances ont été installé et le module serial a bien été installé dans le package
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_mySensors
+ echo 1
+ echo 2
+ sudo npm install --force -g serialport
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN using --force I sure hope you know what you are doing.
> @serialport/bindings-cpp@10.7.0 install /usr/local/lib/node_modules/serialport/node_modules/@serialport/bindings-cpp
> node-gyp-build
+ serialport@10.4.0
added 21 packages from 88 contributors in 21.841s
+ echo 3
+ sudo npm install --force -g request
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN using --force I sure hope you know what you are doing.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
+ request@2.88.2
added 47 packages from 58 contributors in 21.981s
+ echo 4
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end mySensors
+ rm /tmp/jeedom_install_in_progress_mySensors
+ echo '*******************End of package installation******************'
Pour l’instant pas trop d’idées ou chercher