En effet :
Logs
2020-05-11T14:02:34+0200 <info> install_service_dependencies.js:17 () Installing dependencies in folder C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\xiaomi
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for gladys-xiaomi@: wanted {"os":"darwin,linux","arch":"x64,arm,arm64"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin,linux
npm ERR! notsup Valid Arch: x64,arm,arm64
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_37_165Z-debug.log
2020-05-11T14:02:37+0200 <warn> install_service_dependencies.js:23 () Error: Command failed: cd C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\xiaomi && npm install --unsafe-perm
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for gladys-xiaomi@: wanted {"os":"darwin,linux","arch":"x64,arm,arm64"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: darwin,linux
npm ERR! notsup Valid Arch: x64,arm,arm64
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_37_165Z-debug.log
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:19:5
at Array.forEach (<anonymous>)
at Object.<anonymous> (C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
status: 1,
signal: null,
output: [
null,
<Buffer >,
<Buffer 6e 70 6d 20 45 52 52 21 20 63 6f 64 65 20 45 42 41 44 50 4c 41 54 46 4f 52 4d 0a 6e 70 6d 20 45 52 52 21 20 6e 6f 74 73 75 70 20 55 6e 73 75 70 70 6f ... 432 more
bytes>
],
pid: 6656,
stdout: <Buffer >,
stderr: <Buffer 6e 70 6d 20 45 52 52 21 20 63 6f 64 65 20 45 42 41 44 50 4c 41 54 46 4f 52 4d 0a 6e 70 6d 20 45 52 52 21 20 6e 6f 74 73 75 70 20 55 6e 73 75 70 70 6f ... 432 more bytes>
}
2020-05-11T14:02:37+0200 <info> install_service_dependencies.js:17 () Installing dependencies in folder C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm WARN ozwinstall-g2cmil No description
npm WARN ozwinstall-g2cmil No repository field.
npm WARN ozwinstall-g2cmil No README data
npm WARN ozwinstall-g2cmil No license field.
fs.js:35
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:55:10)
at Object.<anonymous> (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\fstream\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Module.require (internal/modules/cjs/loader.js:1043:19)
at require (internal/modules/cjs/helpers.js:77:18)
npm WARN rollback Rolling back openzwave-shared@1.5.8 failed (this is probably harmless): EPERM: operation not permitted, scandir 'C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave\node_modules'
npm WARN gladys-zwave@ No description
npm WARN gladys-zwave@ No repository field.
npm WARN gladys-zwave@ No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.5.8 preinstall: `node lib/install-ozw.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openzwave-shared@1.5.8 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_57_763Z-debug.log
2020-05-11T14:02:57+0200 <warn> install_service_dependencies.js:23 () Error: Command failed: cd C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave && npm install --unsafe-perm
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\package.json'
npm WARN ozwinstall-g2cmil No description
npm WARN ozwinstall-g2cmil No repository field.
npm WARN ozwinstall-g2cmil No README data
npm WARN ozwinstall-g2cmil No license field.
fs.js:35
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:35:5
at req_ (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:143:24)
at Object.req [as require] (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\natives\index.js:55:10)
at Object.<anonymous> (C:\Users\TLEMAI~1\AppData\Local\Temp\ozwinstall-g2cmil\node_modules\fstream\node_modules\graceful-fs\fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Module.require (internal/modules/cjs/loader.js:1043:19)
at require (internal/modules/cjs/helpers.js:77:18)
npm WARN rollback Rolling back openzwave-shared@1.5.8 failed (this is probably harmless): EPERM: operation not permitted, scandir 'C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\services\zwave\node_modules'
npm WARN gladys-zwave@ No description
npm WARN gladys-zwave@ No repository field.
npm WARN gladys-zwave@ No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openzwave-shared@1.5.8 preinstall: `node lib/install-ozw.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openzwave-shared@1.5.8 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\tlemaistre\AppData\Roaming\npm-cache\_logs\2020-05-11T12_02_57_763Z-debug.log
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:19:5
at Array.forEach (<anonymous>)
at Object.<anonymous> (C:\Users\tlemaistre\Documents\Gladys\Gladys-Master-Philips Hue\Gladys\server\cli\install_service_dependencies.js:16:13)
at Module._compile (internal/modules/cjs/loader.js:1157:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
status: 1,
signal: null,
output: [
null,
<Buffer 0a 3e 20 6f 70 65 6e 7a 77 61 76 65 2d 73 68 61 72 65 64 40 31 2e 35 2e 38 20 70 72 65 69 6e 73 74 61 6c 6c 20 43 3a 5c 55 73 65 72 73 5c 74 6c 65 6d ... 241 more
bytes>,
<Buffer 6e 70 6d 20 57 41 52 4e 20 64 65 70 72 65 63 61 74 65 64 20 77 72 65 6e 63 68 40 31 2e 35 2e 39 3a 20 77 72 65 6e 63 68 2e 6a 73 20 69 73 20 64 65 70 ... 2649 more bytes>
],
pid: 19104,
stdout: <Buffer 0a 3e 20 6f 70 65 6e 7a 77 61 76 65 2d 73 68 61 72 65 64 40 31 2e 35 2e 38 20 70 72 65 69 6e 73 74 61 6c 6c 20 43 3a 5c 55 73 65 72 73 5c 74 6c 65 6d ... 241 more bytes>,
stderr: <Buffer 6e 70 6d 20 57 41 52 4e 20 64 65 70 72 65 63 61 74 65 64 20 77 72 65 6e 63 68 40 31 2e 35 2e 39 3a 20 77 72 65 6e 63 68 2e 6a 73 20 69 73 20 64 65 70 ... 2649 more bytes>
}
npm WARN eslint-config-airbnb@17.1.1 requires a peer of eslint-plugin-jsx-a11y@^6.2.3 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-airbnb@17.1.1 requires a peer of eslint-plugin-react@^7.14.2 but none is installed. You must install peer dependencies yourself.
npm WARN ts-enum-util@4.0.1 requires a peer of typescript@>= 2.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN ts-type@1.2.9 requires a peer of @types/bluebird@* but none is installed. You must install peer dependencies yourself.
npm WARN gladys-server@ No description
npm WARN gladys-server@ No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 2 packages from 2 contributors, removed 8 packages, updated 18 packages and audited 5410 packages in 80.326s
1 package is looking for funding
run `npm fund` for details
found 148 vulnerabilities (133 low, 3 moderate, 11 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
Et pourtant le service Philips Hue, qui est en erreur par exemple, tourne bien.