yippie - With the default config.json pimatic has been completely run through.
that made my day.
Unfortunately my own configuration failed due to some plugins.
- pimatic-homeduino@0.9.11
- pimatic-ping@0.9.5" from npm-registry. (pemission denied???)
- “pimatic-amazing-dash-button@0.9.14” from npm-registry.
19:59:33.893 [pimatic] Installing: "pimatic-homeduino@0.9.11" from npm-registry.
20:01:11.867 [pimatic, ppm] > serialport@2.0.6 install /home/pi/pimatic-test/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport
20:01:11.902 [pimatic, ppm] > node-pre-gyp install --fallback-to-build
20:01:44.667 [pimatic, ppm] make: Entering directory '/home/pi/pimatic-test/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/serialport/build'
20:01:44.754 [pimatic, ppm] CXX(target) Release/obj.target/serialport/src/serialport.o
20:02:01.195 [pimatic, ppm] In file included from ../node_modules/nan/nan.h:182:0,
20:02:01.208 [pimatic, ppm] from ../src/serialport.h:5,
20:02:01.228 [pimatic, ppm] from ../src/serialport.cpp:3:
20:02:01.248 [pimatic, ppm] ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
20:02:01.268 [pimatic, ppm] ../node_modules/nan/nan_maybe_43_inl.h:221:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
20:02:01.288 [pimatic, ppm] return array->CloneElementAt(GetCurrentContext(), index);
20:02:01.298 [pimatic, ppm] ^
20:02:01.442 [pimatic, ppm] In file included from /home/pi/pimatic-test/.node-gyp/8.15.0/include/node/v8.h:26:0,
20:02:01.464 [pimatic, ppm] from /home/pi/pimatic-test/.node-gyp/8.15.0/include/node/node.h:63,
20:02:01.478 [pimatic, ppm] from ../node_modules/nan/nan.h:24,
20:02:01.498 [pimatic, ppm] from ../src/serialport.h:5,
20:02:01.518 [pimatic, ppm] from ../src/serialport.cpp:3:
20:02:01.538 [pimatic, ppm] /home/pi/pimatic-test/.node-gyp/8.15.0/include/node/v8.h:3567:36: note: declared here
20:02:01.548 [pimatic, ppm] MaybeLocal<Object> CloneElementAt(Local<Context> context,
20:02:01.568 [pimatic, ppm] ^
20:02:01.588 [pimatic, ppm] /home/pi/pimatic-test/.node-gyp/8.15.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
20:02:01.608 [pimatic, ppm] declarator __attribute__((deprecated(message)))
20:02:01.628 [pimatic, ppm] ^~~~~~~~~~
...
20:02:13.026 [pimatic, ppm] ERR! Failed at the serialport@2.0.6 install script 'node-pre-gyp install --fallback-to-build'.
20:02:13.034 [pimatic, ppm] ERR! This is most likely a problem with the serialport package,
20:02:13.057 [pimatic, ppm] ERR! not with npm itself.
20:02:13.419 [pimatic, ppm] ERR! Tell the author that this fails on your system:
20:02:13.438 [pimatic, ppm] ERR! node-pre-gyp install --fallback-to-build
20:02:13.446 [pimatic, ppm] ERR! You can get information on how to open an issue for this project with:
20:02:13.465 [pimatic, ppm] ERR! npm bugs serialport
20:02:13.477 [pimatic, ppm] ERR! Or if that isn't available, you can get their info via:
20:02:13.492 [pimatic, ppm] ERR!
20:02:13.506 [pimatic, ppm] ERR! npm owner ls serialport
20:02:13.519 [pimatic, ppm] ERR! There is likely additional logging output above.
20:02:31.524 [pimatic, ppm] ERR! Please include the following file with any support request:
20:02:31.577 [pimatic, ppm] ERR! /home/pi/pimatic-test/npm-debug.log
and
20:05:10.726 [pimatic, ppm] > raw-socket@1.6.4 install /home/pi/pimatic-test/node_modules/pimatic-ping/node_modules/net-ping/node_modules/raw-socket
20:05:10.748 [pimatic, ppm] > node-gyp rebuild
20:05:10.864 [pimatic, ppm] sh: 1: node-gyp: Permission denied
20:05:10.956 [pimatic, ppm] ERR! Linux 4.14.79+
20:05:10.987 [pimatic, ppm] ERR! argv "/usr/local/bin/node" "/home/pi/pimatic-test/node_modules/pimatic/ppm.js" "install" "pimatic-ping@0.9.5" "--unsafe-perm"
20:05:11.028 [pimatic, ppm] ERR! node v8.15.0
20:05:11.036 [pimatic, ppm] ERR! npm v2.15.12
20:05:11.057 [pimatic, ppm] ERR! code ELIFECYCLE
20:05:11.065 [pimatic, ppm] ERR! raw-socket@1.6.4 install: `node-gyp rebuild`
20:05:11.186 [pimatic, ppm] ERR! Exit status 126
20:05:11.204 [pimatic, ppm] ERR!