MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Black screen after update 2.11 (electron)

    Troubleshooting
    2
    24
    313
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Blackmirror last edited by

      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.

      S 1 Reply Last reply Reply Quote 0
      • S
        sdetweil @Blackmirror last edited by

        @Blackmirror did u npm install in the folder first?

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • B
          Blackmirror last edited by

          yes i have

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @Blackmirror last edited by

            @Blackmirror what node version are you one

            node -v

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • B
              Blackmirror last edited by

              it is v6.10.2

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @Blackmirror last edited by

                @Blackmirror hm… you should be on v 10.??

                how did u upgrade? and from what version?

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • B
                  Blackmirror last edited by

                  I have only git pull yesterday in cd Magicmirror and in all modules npm install.
                  After this I get a black screen so I have rebuild electron in cd magicmirror and all modules. and npm install again.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @Blackmirror last edited by

                    @Blackmirror said in Black screen after update 2.11 (electron):

                    rebuild electron in cd magicmirror and all modules. and npm install again.

                    and npm install (in base and module folders) (as this will copy down new files based on the MM changes)
                    and THEN
                    electron-rebuild

                    AND you did npm install in MagicMirror folder, BEFORE all modules

                    Sam

                    Create a working config
                    How to add modules

                    S 1 Reply Last reply Reply Quote 0
                    • B
                      Blackmirror last edited by

                      yes. first cd magicmirror after this the modules

                      1 Reply Last reply Reply Quote 0
                      • S
                        sdetweil @sdetweil last edited by

                        @sdetweil maybe run my upgrade script …

                        from here
                        https://github.com/sdetweil/MagicMirror_scripts

                        bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
                        

                        Sam

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy