MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Blackmirror
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 13
    • Posts 68
    • Groups 0

    Posts

    Recent Best Controversial
    • Black screen after update 2.11 (electron)

      Hello I get a black screen after the update.
      The problem is the modul MMM-Buttons.
      It’s need electron but a rebuild will not work it get’s the follow errors

      pi@Mirror:~/MagicMirror/modules/MMM-Buttons $ ./node_modules/.bin/electron-rebuild
      ✖ Rebuild Failed
      
      An unhandled error occurred inside electron-rebuild
      gyp info it worked if it ends with ok
      gyp info using node-gyp@6.1.0
      gyp info using node@6.10.2 | linux | arm
      gyp info find Python using Python version 2.7.9 found at "/usr/bin/python"
      gyp info spawn /usr/bin/python
      gyp info spawn args [ '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/gyp/gyp_main.py',
      gyp info spawn args   'binding.gyp',
      gyp info spawn args   '-f',
      gyp info spawn args   'make',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build/config.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/addon.gypi',
      gyp info spawn args   '-I',
      gyp info spawn args   '/home/pi/.electron-gyp/6.1.9/include/node/common.gypi',
      gyp info spawn args   '-Dlibrary=shared_library',
      gyp info spawn args   '-Dvisibility=default',
      gyp info spawn args   '-Dnode_root_dir=/home/pi/.electron-gyp/6.1.9',
      gyp info spawn args   '-Dnode_gyp_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp',
      gyp info spawn args   '-Dnode_lib_file=/home/pi/.electron-gyp/6.1.9/<(target_arch)/node.lib',
      gyp info spawn args   '-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll',
      gyp info spawn args   '-Dnode_engine=v8',
      gyp info spawn args   '--depth=.',
      gyp info spawn args   '--no-parallel',
      gyp info spawn args   '--generator-output',
      gyp info spawn args   'build',
      gyp info spawn args   '-Goutput_dir=.' ]
      make: Entering directory '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build'
      gyp info spawn make
      gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
        CXX(target) Release/obj.target/epoll/src/epoll.o
      In file included from /home/pi/.electron-gyp/6.1.9/include/node/v8-internal.h:14:0,
                       from /home/pi/.electron-gyp/6.1.9/include/node/v8.h:25,
                       from ../src/epoll.cc:11:
      /home/pi/.electron-gyp/6.1.9/include/node/v8config.h:326:49: warning: ‘MicrotasksCompletedCallback’ is deprecated [-Wdeprecated-declarations]
         declarator __attribute__((deprecated(message)))
                                                       ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:8205:3: note: in expansion of macro ‘V8_DEPRECATE_SOON’
         V8_DEPRECATE_SOON("Use *WithData version.",
         ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8config.h:326:49: warning: ‘MicrotasksCompletedCallback’ is deprecated [-Wdeprecated-declarations]
         declarator __attribute__((deprecated(message)))
                                                       ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:8214:3: note: in expansion of macro ‘V8_DEPRECATE_SOON’
         V8_DEPRECATE_SOON("Use *WithData version.",
         ^
      In file included from ../../nan/nan_converters.h:67:0,
                       from ../../nan/nan.h:202,
                       from ../src/epoll.cc:15:
      ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
      ../../nan/nan_converters_43_inl.h:18:69: error: no matching function for call to ‘v8::Value::ToBoolean(v8::Local<v8::Context>)’
             val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext())          \
                                                                           ^
      ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
       X(Boolean)
       ^
      ../../nan/nan_converters_43_inl.h:18:69: note: candidates are:
             val->To ## TYPE(v8::Isolate::GetCurrent()->GetCurrentContext())          \
                                                                           ^
      ../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
       X(Boolean)
       ^
      In file included from ../src/epoll.cc:11:0:
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2516:18: note: v8::Local<v8::Boolean> v8::Value::ToBoolean(v8::Isolate*) const
         Local<Boolean> ToBoolean(Isolate* isolate) const;
                        ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2516:18: note:   no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:10428:16: note: v8::Local<v8::Boolean> v8::Value::ToBoolean() const
       Local<Boolean> Value::ToBoolean() const {
                      ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:10428:16: note:   candidate expects 0 arguments, 1 provided
      In file included from ../../nan/nan_converters.h:67:0,
                       from ../../nan/nan.h:202,
                       from ../src/epoll.cc:15:
      ../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
      ../../nan/nan_converters_43_inl.h:37:57: error: no matching function for call to ‘v8::Value::BooleanValue(v8::Local<v8::Context>)’
         return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                               ^
      ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
       X(bool, Boolean)
       ^
      ../../nan/nan_converters_43_inl.h:37:57: note: candidates are:
         return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                               ^
      ../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
       X(bool, Boolean)
       ^
      In file included from ../src/epoll.cc:11:0:
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2532:8: note: bool v8::Value::BooleanValue(v8::Isolate*) const
         bool BooleanValue(Isolate* isolate) const;
              ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2532:8: note:   no known conversion for argument 1 from ‘v8::Local<v8::Context>’ to ‘v8::Isolate*’
      In file included from /home/pi/.electron-gyp/6.1.9/include/node/v8-internal.h:14:0,
                       from /home/pi/.electron-gyp/6.1.9/include/node/v8.h:25,
                       from ../src/epoll.cc:11:
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2541:43: note: bool v8::Value::BooleanValue() const
         V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
                                                 ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2541:43: note:   candidate expects 0 arguments, 1 provided
         V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
                                                 ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8config.h:311:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^
      In file included from ../../nan/nan_new.h:189:0,
                       from ../../nan/nan.h:203,
                       from ../src/epoll.cc:15:
      ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
      ../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                                 , obj));
                                      ^
      ../../nan/nan_implementation_12_inl.h:105:32: note: candidate is:
      In file included from ../src/epoll.cc:11:0:
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:4094:31: note: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
         static MaybeLocal<Function> New(
                                     ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:4094:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
      In file included from ../../nan/nan_new.h:189:0,
                       from ../../nan/nan.h:203,
                       from ../src/epoll.cc:15:
      ../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::StringObject>::return_t Nan::imp::Factory<v8::StringObject>::New(v8::Local<v8::String>)’:
      ../../nan/nan_implementation_12_inl.h:337:37: warning: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Local<v8::String>)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:5323): Use Isolate* version [-Wdeprecated-declarations]
         return v8::StringObject::New(value).As<v8::StringObject>();
                                           ^
      In file included from ../src/epoll.cc:15:0:
      ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
      ../../nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/node.h:174): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, func, argc, argv);
                                                                  ^
      ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
      ../../nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/node.h:167): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, symbol, argc, argv);
                                                                    ^
      ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
      ../../nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/node.h:160): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
               v8::Isolate::GetCurrent(), target, method, argc, argv);
                                                                    ^
      ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
      ../../nan/nan.h:916:53: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:10433): Use maybe version [-Wdeprecated-declarations]
             v8::Local<v8::String> string = from->ToString();
                                                           ^
      ../../nan/nan.h:926:74: warning: ‘int v8::String::WriteUtf8(char*, int, int*, int) const’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2726): Use Isolate* version [-Wdeprecated-declarations]
               length_ = string->WriteUtf8(str_, static_cast<int>(len), 0, flags);
                                                                                ^
      ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
      ../../nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/node.h:174): Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
           ));
           ^
      ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
      ../../nan/nan.h:1538:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:3330): Use maybe version [-Wdeprecated-declarations]
           New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                      ^
      ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
      ../../nan/nan.h:1544:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:3330): Use maybe version [-Wdeprecated-declarations]
           New(persistentHandle)->Set(key, value);
                                                ^
      ../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
      ../../nan/nan.h:1550:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:3339): Use maybe version [-Wdeprecated-declarations]
           New(persistentHandle)->Set(index, value);
                                                  ^
      ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
      ../../nan/nan.h:1556:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:3384): Use maybe version [-Wdeprecated-declarations]
               New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                                   ^
      ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
      ../../nan/nan.h:1562:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:3384): Use maybe version [-Wdeprecated-declarations]
           return scope.Escape(New(persistentHandle)->Get(key));
                                                             ^
      ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
      ../../nan/nan.h:1567:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:3388): Use maybe version [-Wdeprecated-declarations]
           return scope.Escape(New(persistentHandle)->Get(index));
                                                               ^
      In file included from /usr/include/c++/4.9/cassert:43:0,
                       from /home/pi/.electron-gyp/6.1.9/include/node/node_object_wrap.h:26,
                       from ../src/epoll.cc:13:
      ../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
      ../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
           assert(persistent().IsNearDeath());
                               ^
      In file included from ../../nan/nan.h:2365:0,
                       from ../src/epoll.cc:15:
      ../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
      ../../nan/nan_object_wrap.h:67:18: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘MarkIndependent’
           persistent().MarkIndependent();
                        ^
      In file included from /usr/include/c++/4.9/cassert:43:0,
                       from /home/pi/.electron-gyp/6.1.9/include/node/node_object_wrap.h:26,
                       from ../src/epoll.cc:13:
      ../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
      ../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
           assert(wrap->handle_.IsNearDeath());
                                ^
      ../src/epoll.cc: In static member function ‘static void Epoll::Init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
      ../src/epoll.cc:175:39: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
         constructor.Reset(ctor->GetFunction());
                                             ^
      ../src/epoll.cc:175:39: note: candidate is:
      In file included from ../src/epoll.cc:11:0:
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:5891:46: note: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
         V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                    ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:5891:46: note:   candidate expects 1 argument, 0 provided
      ../src/epoll.cc:177:23: error: no matching function for call to ‘v8::FunctionTemplate::GetFunction()’
           ctor->GetFunction());
                             ^
      ../src/epoll.cc:177:23: note: candidate is:
      In file included from ../src/epoll.cc:11:0:
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:5891:46: note: v8::MaybeLocal<v8::Function> v8::FunctionTemplate::GetFunction(v8::Local<v8::Context>)
         V8_WARN_UNUSED_RESULT MaybeLocal<Function> GetFunction(
                                                    ^
      /home/pi/.electron-gyp/6.1.9/include/node/v8.h:5891:46: note:   candidate expects 1 argument, 0 provided
      ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Add(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/epoll.cc:210:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2545): Use maybe version [-Wdeprecated-declarations]
         int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                  ^
      ../src/epoll.cc:210:67: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2545): Use maybe version [-Wdeprecated-declarations]
         int err = epoll->Add(info[0]->Int32Value(), info[1]->Int32Value());
                                                                         ^
      ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Modify(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/epoll.cc:230:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2545): Use maybe version [-Wdeprecated-declarations]
         int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                     ^
      ../src/epoll.cc:230:70: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2545): Use maybe version [-Wdeprecated-declarations]
         int err = epoll->Modify(info[0]->Int32Value(), info[1]->Int32Value());
                                                                            ^
      ../src/epoll.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Epoll::Remove(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/epoll.cc:247:47: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated (declared at /home/pi/.electron-gyp/6.1.9/include/node/v8.h:2545): Use maybe version [-Wdeprecated-declarations]
         int err = epoll->Remove(info[0]->Int32Value());
                                                     ^
      epoll.target.mk:107: recipe for target 'Release/obj.target/epoll/src/epoll.o' failed
      make: Leaving directory '/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll/build'
      make: *** [Release/obj.target/epoll/src/epoll.o] Error 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/node-gyp/lib/build.js:194:23)
      gyp ERR! stack     at emitTwo (events.js:106:13)
      gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      gyp ERR! System Linux 4.9.22-v7+
      gyp ERR! command "/usr/bin/nodejs" "/home/pi/MagicMirror/modules/MMM-Buttons/node_modules/.bin/node-gyp" "rebuild" "--target=6.1.9" "--arch=arm" "--dist-url=https://www.electronjs.org/headers" "--build-from-source"
      gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-Buttons/node_modules/epoll
      gyp ERR! node -v v6.10.2
      gyp ERR! node-gyp -v v6.1.0
      gyp ERR! not ok
      
      Failed with exit code: 1
      

      I hope the first part of the error text is enough. The complete text is to long.

      Thanks for some help.

      posted in Troubleshooting
      B
      Blackmirror
    • RE: Blackscreen after update to v.2.8.0

      Thanks.

      I have only npm install at Magicmirror not for the modules.

      Now it was running fine.

      posted in Troubleshooting
      B
      Blackmirror
    • Blackscreen after update to v.2.8.0

      Hello,
      afer the updatre I get a black screen, but Magicmirror is still running.

      pi@Mirror:~/MagicMirror $ pm2 status
      ┌──────────┬────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────────┐
      │ App name │ id │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ watching │
      ├──────────┼────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────────┤
      │ mm       │ 0  │ fork │ 1030 │ online │ 0       │ 12h    │ 0%  │ 2.3 MB   │ enabled  │
      └──────────┴────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      pi@Mirror:~/MagicMirror $ cd ..
      pi@Mirror:~ $ cd MagicMirror
      pi@Mirror:~/MagicMirror $ ls
      CHANGELOG.md  config  css            fonts         index.html  js             LICENSE.md  module-types.ts  package.json       README.md     serveronly    tests         vendor
      clientonly    core    dangerfile.js  Gruntfile.js  installers  jsconfig.json  modules     node_modules     package-lock.json  run-start.sh  splashscreen  translations
      pi@Mirror:~/MagicMirror $ cd config
      pi@Mirror:~/MagicMirror/config $ ls
      config.js  config.js.sample
      pi@Mirror:~/MagicMirror/config $ cd ..
      pi@Mirror:~/MagicMirror $ npm run config:check
      
      > magicmirror@2.8.0 config:check /home/pi/MagicMirror
      > node tests/configs/check_config.js
      
      Checking file...  /home/pi/MagicMirror/config/config.js
      Your configuration file doesn't contain syntax errors :)
      pi@Mirror:~/MagicMirror $ npm install
      
      > magicmirror@2.8.0 install /home/pi/MagicMirror
      > cd vendor && npm install
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      
      > magicmirror@2.8.0 postinstall /home/pi/MagicMirror
      > sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.8.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      

      I hope someone can help me.

      greets Blackmirror

      posted in Troubleshooting
      B
      Blackmirror
    • RE: Calendar Module +1 day Error

      Thanks. It’s work fine

      posted in Troubleshooting
      B
      Blackmirror
    • RE: Calendar Module +1 day Error

      Hello,
      I have the same problem, but this fix will not solve my problem.

                    {
                              module: 'calendar',
                              classes: 'default everyone',
                           //   header: 'Termine',
                              position: 'top_right',
                              config: {
                                     calendars: [
                                              {
                                                      url: 'https://calendar.google.com/calendar/XXX',
                                                      symbol: 'calender',
                                                      colored: true,
                                                      displayRepeatingCountTitle: 'Birthday',
                                                      timeFormat: 'absolute',
                                                      maximumEntries: 5,
                                                      dateFormat: 'DD MMM',
                                                      fullDayEventDateFormat:'DD MMM',
                                                      showEnd: false,
                                                      getRelative: 48,
                                                      urgency: 2
                                              }
                                      ]
                              }
                      },
      
      

      And the chance from the date will not work.

      The Date shows : Dec 8 and not 8 Dec.

      Thanks

      Blackmirror

      posted in Troubleshooting
      B
      Blackmirror
    • RE: MagicMirror will not start after update 2.5.0

      Here the output:

      Starting MagicMirror: v2.5.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      No helper found for module: MMM-Carousel.
      Initializing new module helper ...
      Module helper loaded: MMM-Buttons
      No helper found for module: MMM-ProfileSwitcher.
      Initializing new module helper ...
      Module helper loaded: MMM-Podcast
      Initializing new module helper ...
      Module helper loaded: MMM-DWD-WarnWeather
      Initializing new module helper ...
      Module helper loaded: MMM-Todoist
      Initializing new module helper ...
      Module helper loaded: updatenotification
      Initializing new module helper ...
      Module helper loaded: MMM-FRITZ-Box-Callmonitor
      No helper found for module: MMM-Callmonitor-Current-Call.
      No helper found for module: clock.
      No helper found for module: currentweather.
      Initializing new module helper ...
      Module helper loaded: calendar
      WARNING! Could not load config file. Starting with default configuration. Error                                                                                                              found: Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modul                                                                                                             es/node-dht-sensor/build/Release/node_dht_sensor.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 50. This version of Node.js requires
      NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
      Loading module helpers ...
      No helper found for module: alert.
      No helper found for module: MMM-Carousel.
      Initializing new module helper ...
      Module helper loaded: MMM-Buttons
      No helper found for module: MMM-ProfileSwitcher.
      Initializing new module helper ...
      Module helper loaded: MMM-Podcast
      Initializing new module helper ...
      Module helper loaded: MMM-DWD-WarnWeather
      Initializing new module helper ...
      Module helper loaded: MMM-Todoist
      Initializing new module helper ...
      Module helper loaded: updatenotification
      Initializing new module helper ...
      Module helper loaded: MMM-FRITZ-Box-Callmonitor
      No helper found for module: MMM-Callmonitor-Current-Call.
      No helper found for module: clock.
      No helper found for module: currentweather.
      Initializing new module helper ...
      Module helper loaded: calendar
      App threw an error during load
      Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node                                                                                                             -dht-sensor/build/Release/node_dht_sensor.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 50. This version of Node.js requires
      NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
          at Object.Module._extensions..node (module.js:671:18)
          at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
          at Module.load (module.js:561:32)
          at tryModuleLoad (module.js:504:12)
          at Function.Module._load (module.js:496:3)
          at Module.require (module.js:586:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:11:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:42:3)
      Whoops! There was an uncaught exception...
      Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node                                                                                                             -dht-sensor/build/Release/node_dht_sensor.node'
      was compiled against a different Node.js version using
      NODE_MODULE_VERSION 50. This version of Node.js requires
      NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
      the module (for instance, using `npm rebuild` or `npm install`).
          at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
          at Object.Module._extensions..node (module.js:671:18)
          at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
          at Module.load (module.js:561:32)
          at tryModuleLoad (module.js:504:12)
          at Function.Module._load (module.js:496:3)
          at Module.require (module.js:586:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:11:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_help                                                                                                             er.js:42:3)
      MagicMirror will not quit, but it might be a good idea to check why this happene                                                                                                             d. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://gi                                                                                                             thub.com/MichMich/MagicMirror/issues
      Launching application.
      

      After ```
      NPM install

      
      Im Modul DHT-Sensor work all fine. Thanks
      posted in Troubleshooting
      B
      Blackmirror
    • RE: MagicMirror will not start after update 2.5.0

      No one will help me?

      posted in Troubleshooting
      B
      Blackmirror
    • RE: MagicMirror will not start after update 2.5.0
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/ch              okidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@              1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}              )
      
      > magicmirror@2.5.0 postinstall /home/pi/MagicMirror
      > sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      MagicMirror installation successful!
      
      > magicmirror@2.5.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      npm WARN postcss-html@0.12.0 requires a peer of postcss-less@>=1.1.0 but none wa              s installed.
      npm WARN postcss-html@0.12.0 requires a peer of postcss-scss@>=1.0.0 but none wa              s installed.
      npm WARN postcss-html@0.12.0 requires a peer of sugarss@>=1.0.0 but none was ins              talled.
      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 bu              t none was installed.
      

      Afer npm install it comes this warnings

      posted in Troubleshooting
      B
      Blackmirror
    • MagicMirror will not start after update 2.5.0

      Hello all,
      My MagicMirror will not start after update the MagicMirror to v2.5.0.
      NPM run config:check said the config.js have no syntax error.
      Before the update the magicmirror works fine.

      posted in Troubleshooting
      B
      Blackmirror
    • RE: Black screen after install update v2.2

      Okay. after npm rebuild the Mirror is still black.

      posted in Troubleshooting
      B
      Blackmirror
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 3 / 7