majaxx Parce que mon raspberry tourne déjà pas mal de choses, et je ne voulais pas le surcharger en rajoutant une surcouche docker. C'est un raspberry pi 3B
pi@mediaserv:~ $ cat /proc/cpuinfo
...
Hardware : BCM2835
Revision : a02082
Serial : 00000000f7725c67
Model : Raspberry Pi 3 Model B Rev 1.2
hydrog3n Voici les infos de python:
pi@mediaserv:~ $ python -V
Python 2.7.16
pi@mediaserv:~ $ python3 -V
Python 3.7.3
Et voici le résultat après nettoyage:
pi@mediaserv:/opt/sensorr $ git clean -d -x -f
Removing node_modules/
Removing yarn-error.log
pi@mediaserv:/opt/sensorr $ yarn cache clean
yarn cache v1.22.4
success Cleared cache.
Done in 87.41s.
pi@mediaserv:/opt/sensorr $ yarn install --network-timeout=100000
yarn install v1.22.4
[1/4] Resolving packages...
warning Resolution field "leveldown@5.4.0" is incompatible with requested version "leveldown@5.0.2"
warning Resolution field "leveldown@5.4.0" is incompatible with requested version "leveldown@5.0.2"
warning Resolution field "sharp@0.23.2" is incompatible with requested version "sharp@^0.22.1"
[2/4] Fetching packages...
warning Pattern ["esprima-fb@~3001.0001.0000-dev-harmony-fb"] is trying to unpack in the same destination "/home/pi/.cache/yarn/v6/npm-esprima-fb-3001.1.0-dev-harmony-fb-b77d37abcd38ea0b77426bb8bc2922ce6b426411/node_modules/esprima-fb" as pattern ["esprima-fb@~3001.1.0-dev-harmony-fb"]. This could result in non-deterministic behavior, skipping.
warning url-loader@1.1.2: Invalid bin field for "url-loader".
warning webpack-hot-client@4.1.2: Invalid bin field for "webpack-hot-client".
warning pm2@4.1.2: The engine "embed" appears to be invalid.
info fsevents@2.1.1: The platform "linux" is incompatible with this module.
info "fsevents@2.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > plex-api-pinauth@0.1.0" has incorrect peer dependency "plex-api@^3.2.0".
[4/4] Building fresh packages...
[7/41] ⢀ core-js
[8/41] ⢀ styled-components
[3/41] ⠠ leveldown
[4/41] ⠠ puppeteer
error /opt/sensorr/node_modules/leveldown: Command failed.
Exit code: 1
Command: node-gyp-build
Arguments:
Directory: /opt/sensorr/node_modules/leveldown
Output:
events.js:174
throw er; // Unhandled 'error' event
^
Error: spawn node-gyp ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
Il semblerait que l'erreur soit liée à leveldown
, sachant que nous avons un warning sur la version, ne serait-ce pas lié? warning Resolution field "leveldown@5.4.0" is incompatible with requested version "leveldown@5.0.2"