cant post whole log because i do not have 0 reputation
Best posts made by kalutinurgh
-
RE: I cant update MMM-GoogleAssistant get error code 255
Latest posts made by kalutinurgh
-
RE: I cant update MMM-GoogleAssistant get error code 255
@bugsounet yes that was solution and now everything works like charm ️ i’m going to support you more for your good work ️
-
RE: I cant update MMM-GoogleAssistant get error code 255
I also get same error 255 while updating EXT-Detector
Other modules update okay. -
RE: Assistant taking a long time to post result.
@justaguy read my post with same issue… i found 3 ways to make GoogleAssistant module faster. My device RPI3B+ and i´m also facing low voltage issue.
-
RE: GoogleAssistant v6.2.1 EXT-Detector delay
@bugsounet I did GPU accelerating (help lot), EXT-Governor to performance mode (help little) and overclock to 1450Mhz… I also found that my pi is running on low voltage and with 600Mhz. Temperature is not issue only about 39.5-42 decrees. My power supply is 60W phone charger, maybe i need to get official power supply.
-
RE: I cant update MMM-GoogleAssistant get error code 255
now try to send whole log: pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npx electron-rebuild
⠦ Building module: node-pty, Completed: 0make: Siirrytään hakemistoon ”/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty/build”
CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-object.h:10,
from /home/pi/.electron-gyp/28.2.5/include/node/v8-array-buffer.h:13,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:24,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-persistent-handle.h:245:44: warning: ‘template<class T> struct v8::CopyablePersistentTraits’ is deprecated: Use v8::Global instead [-Wdeprecated-declarations]
245 | using CopyablePersistent = Persistent<T, CopyablePersistentTraits<T>>;
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-persistent-handle.h:244:48: note: declared here
244 | struct V8_DEPRECATED(“Use v8::Global instead”) CopyablePersistentTraits {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h:208:16: warning: ‘template<class T> struct v8::CopyablePersistentTraits’ is deprecated: Use v8::Global instead [-Wdeprecated-declarations]
208 | public v8::CopyablePersistentTraits<T> {};
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-object.h:10,
from /home/pi/.electron-gyp/28.2.5/include/node/v8-array-buffer.h:13,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:24,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-persistent-handle.h:244:48: note: declared here
244 | struct V8_DEPRECATED(“Use v8::Global instead”) CopyablePersistentTraits {
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h: In function ‘bool Nan::IdleNotification(int)’:
…/…/nan/nan.h:689:32: warning: ‘bool v8::Isolate::IdleNotificationDeadline(double)’ is deprecated: Use MemoryPressureNotification() to influence the GC schedule. [-Wdeprecated-declarations]
689 | idle_time_in_ms * 0.001);
| ^
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-initialization.h:13,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:34,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-isolate.h:1345:8: note: declared here
1345 | bool IdleNotificationDeadline(double deadline_in_seconds);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, Nan::Sig)’:
…/…/nan/nan.h:2560:3: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Localv8::String&, void (&)(v8::Localv8::Name, const v8::PropertyCallbackInfov8::Value&), void (&)(v8::Localv8::Name, v8::Localv8::Value, const v8::PropertyCallbackInfo<void>&), v8::Localv8::Object&, v8::PropertyAttribute&)’
2560 | );
| ^
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-function.h:15,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:33,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:809:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::String, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
809 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:812:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
812 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:816:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
816 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:819:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
819 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
In file included from …/src/unix/pty.cc:20:
…/…/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Localv8::ObjectTemplate, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute)’:
…/…/nan/nan.h:2605:3: error: no matching function for call to ‘v8::ObjectTemplate::SetAccessor(v8::Localv8::String&, void (&)(v8::Localv8::Name, const v8::PropertyCallbackInfov8::Value&), void (&)(v8::Localv8::Name, v8::Localv8::Value, const v8::PropertyCallbackInfo<void>&), v8::Localv8::Object&, v8::PropertyAttribute&)’
2605 | );
| ^
In file included from /home/pi/.electron-gyp/28.2.5/include/node/v8-function.h:15,
from /home/pi/.electron-gyp/28.2.5/include/node/v8.h:33,
from /home/pi/.electron-gyp/28.2.5/include/node/node.h:79,
from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:809:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::String, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
809 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:812:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
812 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:816:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectType, v8::SideEffectType)’
816 | void SetAccessor(
| ^~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/v8-template.h:819:57: note: no known conversion for argument 5 from ‘v8::PropertyAttribute’ to ‘v8::AccessControl’
819 | Local<Value> data = Local<Value>(), AccessControl settings = DEFAULT,
|~~~^
…/src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’:
…/src/unix/pty.cc:609:43: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistentv8::Function’ with no trivial copy-assignment [-Wclass-memaccess]
609 | memset(&baton->cb, -1, sizeof(baton->cb));
| ^
In file included from …/…/nan/nan.h:411,
from …/src/unix/pty.cc:20:
…/…/nan/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistentv8::Function’ declared here
12 | template<typename T, typename M> class Persistent :
| ^~~~~~~~~~
In file included from …/…/nan/nan.h:62,
from …/src/unix/pty.cc:20:
…/src/unix/pty.cc: At global scope:
/home/pi/.electron-gyp/28.2.5/include/node/node.h:1040:7: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type]
1040 | (node::addon_register_func) (regfunc),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/.electron-gyp/28.2.5/include/node/node.h:1074:3: note: in expansion of macro ‘NODE_MODULE_X’
1074 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
…/src/unix/pty.cc:826:1: note: in expansion of macro ‘NODE_MODULE’
826 | NODE_MODULE(pty, init)
| ^~~~~~~~~~~
make: *** [pty.target.mk:119: Release/obj.target/pty/src/unix/pty.o] Virhe 1
make: Poistutaan hakemistosta ”/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty/build”
Error:make
failed with exit code: 2
at ChildProcess.onExit (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-gyp/lib/build.js:203:23)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’Error: node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’
at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@electron/rebuild/lib/module-type/node-gyp/node-gyp.js:118:24)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ -
RE: I cant update MMM-GoogleAssistant get error code 255
cant post whole log because i do not have 0 reputation
-
RE: I cant update MMM-GoogleAssistant get error code 255
End of log looks like this Rebuild Failed
An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’Error: node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/node-pty’
at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@electron/rebuild/lib/module-type/node-gyp/node-gyp.js:118:24)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12)
Rebuild Failed
npm ERR! code 255
npm ERR! path /home/pi/MagicMirror/modules/MMM-GoogleAssistant
npm ERR! command failed
npm ERR! command sh -c – installer/postinstall.sh -r -b -mnpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2024-03-20T15_55_14_080Z-debug-0.log
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ -
RE: I cant update MMM-GoogleAssistant get error code 255
it says i need 0 reputation to post links while trying to post past installer log
-
RE: I cant update MMM-GoogleAssistant get error code 255
npm run rebuild did not complete now i check logs