Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install bcrypt on ubuntu 12.04.5LTS #536

Closed
kobelka opened this issue Mar 14, 2017 · 9 comments
Closed

npm install bcrypt on ubuntu 12.04.5LTS #536

kobelka opened this issue Mar 14, 2017 · 9 comments

Comments

@kobelka
Copy link

kobelka commented Mar 14, 2017

Version: node -v v7.6.0
Platform: Linux 2.6.32-042stab120.5 #1 SMP Tue Oct 25 22:31:12 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux

I tried to install an node app (openhab-cloud).
But when I start the npm install i get the following errors:

`Execution filemng has failed with exit code 1, stdout:

[email protected] install /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bcrypt
node-gyp rebuild
make: Entering directory ...
make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/plesk/node/7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:192:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 2.6.32-042stab120.5
gyp ERR! command "/usr/local/bin/node" "/opt/plesk/node/7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bcrypt
gyp ERR! node -v v7.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 2.6.32-042stab120.5
npm ERR! argv "/opt/plesk/node/7/bin/node" "/opt/plesk/node/7/bin/npm" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/npm-debug.log`

The solutions I found over google didn´t work for me:

build-essentials and python2.7 is already installed and I tried several other things....

Can somebody please help me ?

@bnoordhuis
Copy link
Member

Can you also post the output of stderr? There's quite a bit of context missing.

@kobelka
Copy link
Author

kobelka commented Mar 14, 2017

Execution filemng has failed with exit code 1, stdout:
> [email protected] install /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bcrypt
> node-gyp rebuild
make: Entering directory `/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bcrypt/build'
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
make: Leaving directory `/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bcrypt/build'
[email protected] /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud
`-- (empty)
, stderr: npm WARN lifecycle The node binary used for scripts is /usr/local/bin/node but npm is using /opt/plesk/node/7/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
In file included from ../src/bcrypt_node.cc:1:0:
../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
In file included from /var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/node.h:42:0,
from ../node_modules/nan/nan.h:47,
from ../src/bcrypt_node.cc:1:
/var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/v8.h:348:1: error: expected unqualified-id before 'using'
/var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/v8.h:477:51: error: 'virtual v8::EmbedderReachableReferenceReporter::~EmbedderReachableReferenceReporter()' declared virtual cannot be defaulted in the class body
/var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/v8.h:870:1: error: expected unqualified-id before 'using'
/var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/v8.h:6178:35: error: 'virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()' declared virtual cannot be defaulted in the class body
In file included from ../node_modules/nan/nan.h:190:0,
from ../src/bcrypt_node.cc:1:
../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before 'using'
../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before 'using'
../node_modules/nan/nan_maybe_43_inl.h:19:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:24:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:31:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:36:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:41:1: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:46:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:51:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:59:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:64:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:69:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:76:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:83:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:91:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:98:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:108:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:114:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:118:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:125:1: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:130:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:135:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:139:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:145:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:150:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:156:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:162:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:168:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:174:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:180:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:186:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:194:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:201:1: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:205:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:209:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:213:8: error: 'Maybe' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:217:8: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_maybe_43_inl.h:237:8: error: 'MaybeLocal' does not name a type
In file included from ../node_modules/nan/nan.h:195:0,
from ../src/bcrypt_node.cc:1:
../node_modules/nan/nan_converters.h:14:11: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_converters.h:16:56: error: 'Maybe' does not name a type
../node_modules/nan/nan_converters.h:26:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:27:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:28:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:29:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:30:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:31:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:32:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:42:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:43:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:44:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:45:1: error: 'return_t' does not name a type
../node_modules/nan/nan_converters.h:46:1: error: 'return_t' does not name a type
In file included from ../node_modules/nan/nan_converters.h:59:0,
from ../node_modules/nan/nan.h:195,
from ../src/bcrypt_node.cc:1:
../node_modules/nan/nan_converters_43_inl.h:18:1: error: 'return_t' in 'struct Nan::imp::ToFactory<v8::Boolean>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:19:1: error: 'return_t' in 'struct Nan::imp::ToFactory<v8::Number>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:20:1: error: 'return_t' in 'struct Nan::imp::ToFactory<v8::String>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:21:1: error: 'return_t' in 'struct Nan::imp::ToFactory<v8::Object>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:22:1: error: 'return_t' in 'struct Nan::imp::ToFactory<v8::Integer>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:23:1: error: 'return_t' in 'struct Nan::imp::ToFactory<v8::Uint32>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:24:1: error: 'return_t' in 'struct Nan::imp::ToFactory<v8::Int32>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:34:1: error: 'return_t' in 'struct Nan::imp::ToFactory<bool>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:35:1: error: 'return_t' in 'struct Nan::imp::ToFactory<double>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:36:1: error: 'return_t' in 'struct Nan::imp::ToFactory<long int>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:37:1: error: 'return_t' in 'struct Nan::imp::ToFactory<unsigned int>' does not name a type
../node_modules/nan/nan_converters_43_inl.h:38:1: error: 'return_t' in 'struct Nan::imp::ToFactory<int>' does not name a type
In file included from ../node_modules/nan/nan.h:196:0,
from ../src/bcrypt_node.cc:1:
../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]':
../node_modules/nan/nan_new.h:21:32: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
../node_modules/nan/nan_new.h:21:32: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]':
../node_modules/nan/nan_new.h:28:30: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
../node_modules/nan/nan_new.h:28:30: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]':
../node_modules/nan/nan_new.h:35:31: error: no matching function for call to 'To(v8::Local<v8::Integer>&)'
../node_modules/nan/nan_new.h:35:31: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan_new.h: At global scope:
../node_modules/nan/nan_new.h:43:11: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan_new.h:75:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:141:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:147:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:148:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:160:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:161:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:162:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:163:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:165:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:166:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:182:17: error: 'return_t' does not name a type
../node_modules/nan/nan_new.h:183:17: error: 'return_t' does not name a type
In file included from ../node_modules/nan/nan_new.h:189:0,
from ../node_modules/nan/nan.h:196,
from ../src/bcrypt_node.cc:1:
../node_modules/nan/nan_implementation_12_inl.h:61:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::Date>' does not name a type
../node_modules/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>)':
../node_modules/nan/nan_implementation_12_inl.h:95:46: error: 'NewInstance' was not declared in this scope
../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBase<v8::FunctionTemplate>::return_t Nan::imp::Factory<v8::FunctionTemplate>::New(Nan::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>)':
../node_modules/nan/nan_implementation_12_inl.h:123:48: error: 'NewInstance' was not declared in this scope
../node_modules/nan/nan_implementation_12_inl.h: At global scope:
../node_modules/nan/nan_implementation_12_inl.h:202:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::RegExp>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:221:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::Script>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:227:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::Script>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:259:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:267:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:273:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:280:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:286:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:291:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:352:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::UnboundScript>' does not name a type
../node_modules/nan/nan_implementation_12_inl.h:359:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::UnboundScript>' does not name a type
In file included from ../node_modules/nan/nan.h:196:0,
from ../src/bcrypt_node.cc:1:
../node_modules/nan/nan_new.h:293:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:299:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:305:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:311:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:317:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:323:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:329:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::String>' does not name a type
../node_modules/nan/nan_new.h:335:1: error: 'return_t' in 'struct Nan::imp::Factory<v8::RegExp>' does not name a type
In file included from ../src/bcrypt_node.cc:1:0:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::Error(const char*)':
../node_modules/nan/nan.h:655:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'void Nan::ThrowError(const char*)':
../node_modules/nan/nan.h:655:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::RangeError(const char*)':
../node_modules/nan/nan.h:656:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'void Nan::ThrowRangeError(const char*)':
../node_modules/nan/nan.h:656:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::ReferenceError(const char*)':
../node_modules/nan/nan.h:657:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'void Nan::ThrowReferenceError(const char*)':
../node_modules/nan/nan.h:657:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::SyntaxError(const char*)':
../node_modules/nan/nan.h:658:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'void Nan::ThrowSyntaxError(const char*)':
../node_modules/nan/nan.h:658:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::TypeError(const char*)':
../node_modules/nan/nan.h:659:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'void Nan::ThrowTypeError(const char*)':
../node_modules/nan/nan.h:659:3: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:667:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:689:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:705:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:718:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:735:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:741:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:749:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:756:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:762:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h: In member function 'void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)':
../node_modules/nan/nan.h:1398:40: error: 'Set' was not declared in this scope
../node_modules/nan/nan.h:1398:40: note: suggested alternative:
/var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/v8.h:3402:17: note: 'v8::Set'
../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)':
../node_modules/nan/nan.h:1518:41: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In member function 'v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const':
../node_modules/nan/nan.h:1536:45: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In member function 'virtual void Nan::AsyncWorker::HandleErrorCallback()':
../node_modules/nan/nan.h:1570:58: error: no matching function for call to 'New(const char*)'
../node_modules/nan/nan.h:1570:58: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../node_modules/nan/nan.h: In function 'void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...)':
../node_modules/nan/nan.h:1872:34: error: there are no arguments to 'GetFunction' that depend on a template parameter, so a declaration of 'GetFunction' must be available [-fpermissive]
../node_modules/nan/nan.h:1872:34: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../node_modules/nan/nan.h: In function 'void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback)':
../node_modules/nan/nan.h:1884:45: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, Nan::FunctionCallback)':
../node_modules/nan/nan.h:1899:45: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':
../node_modules/nan/nan.h:1924:47: error: 'NewInstance' was not declared in this scope
../node_modules/nan/nan.h: In function 'bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)':
../node_modules/nan/nan.h:1967:51: error: 'NewInstance' was not declared in this scope
../node_modules/nan/nan.h: In function 'void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::PropertyGetterCallback, Nan::PropertySetterCallback, Nan::PropertyQueryCallback, Nan::PropertyDeleterCallback, Nan::PropertyEnumeratorCallback, v8::Local<v8::Value>)':
../node_modules/nan/nan.h:2026:47: error: 'NewInstance' was not declared in this scope
../node_modules/nan/nan.h: In function 'void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, Nan::IndexGetterCallback, Nan::IndexSetterCallback, Nan::IndexQueryCallback, Nan::IndexDeleterCallback, Nan::IndexEnumeratorCallback, v8::Local<v8::Value>)':
../node_modules/nan/nan.h:2096:47: error: 'NewInstance' was not declared in this scope
../node_modules/nan/nan.h: In function 'void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)':
../node_modules/nan/nan.h:2151:47: error: 'NewInstance' was not declared in this scope
../node_modules/nan/nan.h: In function 'void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, Nan::FunctionCallback, v8::Local<v8::Value>)':
../node_modules/nan/nan.h:2173:47: error: 'NewInstance' was not declared in this scope
In file included from ../src/bcrypt_node.cc:1:0:
../node_modules/nan/nan.h: In function 'void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, Nan::FunctionCallback)':
../node_modules/nan/nan.h:2200:35: error: no matching function for call to 'New(const char*&)'
../node_modules/nan/nan.h:2200:35: note: candidates are:
../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
../node_modules/nan/nan_implementation_12_inl.h:405:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
../node_modules/nan/nan_new.h:213:1: note: template<class T, class A0, class A1> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1)
../node_modules/nan/nan_new.h:219:1: note: template<class T, class A0, class A1, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2)
../node_modules/nan/nan_new.h:225:1: note: template<class T, class A0, class A1, class A2, class A3> typename Nan::imp::Factory<T>::return_t Nan::New(A0, A1, A2, A3)
../node_modules/nan/nan_new.h:237:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>)
../node_modules/nan/nan_new.h:245:1: note: template<class T, class A2> typename Nan::imp::Factory<T>::return_t Nan::New(Nan::FunctionCallback, v8::Local<v8::Value>, A2)
../node_modules/nan/nan.h:2201:47: error: 'GetFunction' was not declared in this scope
../node_modules/nan/nan.h:2201:65: error: 'Set' was not declared in this scope
../node_modules/nan/nan.h:2201:65: note: suggested alternative:
/var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/v8.h:3402:17: note: 'v8::Set'
../node_modules/nan/nan.h: In constructor 'Nan::Tap::Tap(v8::Local<v8::Value>)':
../node_modules/nan/nan.h:2208:30: error: no matching function for call to 'To(v8::Local<v8::Value>&)'
../node_modules/nan/nan.h:2208:30: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan.h: In member function 'void Nan::Tap::ok(bool, const char*)':
../node_modules/nan/nan.h:2221:33: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: In member function 'void Nan::Tap::pass(const char*)':
../node_modules/nan/nan.h:2227:30: error: 'Nan::imp::FactoryBase<v8::Boolean>::return_t' has no member named 'ToLocalChecked'
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:2251:10: error: 'MaybeLocal' does not name a type
../node_modules/nan/nan.h:2256:40: error: 'MaybeLocal' was not declared in this scope
../node_modules/nan/nan.h:2256:40: note: suggested alternative:
/var/www/vhosts/kobelka.de/.node-gyp/7.6.0/include/node/v8.h:118:7: note: 'v8::MaybeLocal'
../node_modules/nan/nan.h:2256:52: error: template argument 1 is invalid
../node_modules/nan/nan.h:2256:54: error: expected unqualified-id before '>' token
../node_modules/nan/nan.h:2265:1: error: 'MaybeLocal' does not name a type
../src/bcrypt_node.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::GenerateSalt(Nan::NAN_METHOD_ARGS_TYPE)':
../src/bcrypt_node.cc:108:52: error: no matching function for call to 'To(v8::Local<v8::Value>)'
../src/bcrypt_node.cc:108:52: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../src/bcrypt_node.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE {anonymous}::GenerateSaltSync(Nan::NAN_METHOD_ARGS_TYPE)':
../src/bcrypt_node.cc:131:52: error: no matching function for call to 'To(v8::Local<v8::Value>)'
../src/bcrypt_node.cc:131:52: note: candidate is:
../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
../node_modules/nan/nan.h: In function 'v8::Local<v8::Value> Nan::Error(const char*)':
../node_modules/nan/nan.h:655:3: warning: control reaches end of non-void function [-Wreturn-type]
../node_modules/nan/nan_new.h: In function 'v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]':
../node_modules/nan/nan_new.h:36:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/plesk/node/7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:192:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 2.6.32-042stab120.5
gyp ERR! command "/usr/local/bin/node" "/opt/plesk/node/7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bcrypt
gyp ERR! node -v v7.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 2.6.32-042stab120.5
npm ERR! argv "/opt/plesk/node/7/bin/node" "/opt/plesk/node/7/bin/npm" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/npm-debug.log
`

@bnoordhuis
Copy link
Member

Right, here is what I see:

  1. You need a C++11-capable compiler, g++ >= 4.8.5 or clang++ >= 3.5.
  2. [email protected] is a bit old, you should probably upgrade to a newer version.

@kobelka
Copy link
Author

kobelka commented Mar 14, 2017

@bnoordhuis that worked for me ! Thank You!

But now I have a new problem, when I start the app I get the following error:

sudo node app.js 2017-03-14T20:27:48.132Z - error: uncaughtException: Cannot find module '../build/Debug/addon' date=Tue Mar 14 2017 21:27:48 GMT+0100 (CET), pid=28761, uid=0, gid=0, cwd=/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud, execPath=/usr/local/bin/node, version=v7.6.0, argv=[/usr/local/bin/node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/app.js], rss=19640320, heapTotal=8830976, heapUsed=4200840, external=8220, loadavg=[0.00439453125, 0.052734375, 0.0712890625], uptime=12002300, trace=[column=15, file=module.js, function=Function.Module._resolveFilename, line=470, method=Module._resolveFilename, native=false, column=25, file=module.js, function=Function.Module._load, line=418, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=498, method=require, native=false, column=19, file=internal/module.js, function=require, line=20, method=null, native=false, column=15, file=/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/heapdump/lib/main.js, function=, line=18, method=null, native=false, column=32, file=module.js, function=Module._compile, line=571, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions..js, line=580, method=Module._extensions..js, native=false, column=32, file=module.js, function=Module.load, line=488, method=load, native=false, column=12, file=module.js, function=tryModuleLoad, line=447, method=null, native=false, column=3, file=module.js, function=Function.Module._load, line=439, method=Module._load, native=false], stack=[Error: Cannot find module '../build/Debug/addon', at Function.Module._resolveFilename (module.js:470:15), at Function.Module._load (module.js:418:25), at Module.require (module.js:498:17), at require (internal/module.js:20:19), at Object.<anonymous> (/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/heapdump/lib/main.js:18:15), at Module._compile (module.js:571:32), at Object.Module._extensions..js (module.js:580:10), at Module.load (module.js:488:32), at tryModuleLoad (module.js:447:12), at Function.Module._load (module.js:439:3)]

Do you have an idea ?

@bnoordhuis
Copy link
Member

Looks like node-heapdump either wasn't built or failed to build. Try rm -rf node_modules/heapdump && npm install heapdump and can you post the output here?

@kobelka
Copy link
Author

kobelka commented Mar 14, 2017

rm -rf node_modules/heapdump && npm install heapdump

> [email protected] install /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/heapdump
> node-gyp rebuild

make: Entering directory `/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/heapdump/build'
  CXX(target) Release/obj.target/addon/src/heapdump.o
  SOLINK_MODULE(target) Release/obj.target/addon.node
  COPY Release/addon.node
make: Leaving directory `/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/heapdump/build'
[email protected] /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud
`-- [email protected]

@kobelka
Copy link
Author

kobelka commented Mar 14, 2017

When I now start the app I get this:

sudo node app.js 2017-03-14T20:37:53.722Z - info: openHAB-cloud: Backend service is starting up... 2017-03-14T20:37:53.742Z - info: openHAB-cloud: Backend logging initialized... 2017-03-14T20:37:54.618Z - info: openHAB-cloud: Initializing XMPP connection to GCM 2017-03-14T20:37:55.524Z - info: openHAB-cloud: Mailer will emulate sending in development environment 2017-03-14T20:37:55.892Z - info: openHAB-cloud: Connecting ro Redis at 127.0.0.1:6379 2017-03-14T20:37:56.290Z - error: uncaughtException: Could not locate the bindings file. Tried: → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/Debug/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/Release/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/out/Debug/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/Debug/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/out/Release/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/Release/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/default/time.node → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/compiled/7.6.0/linux/x64/time.node date=Tue Mar 14 2017 21:37:56 GMT+0100 (CET), pid=29034, uid=0, gid=0, cwd=/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud, execPath=/usr/local/bin/node, version=v7.6.0, argv=[/usr/local/bin/node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/app.js], rss=110772224, heapTotal=92364800, heapUsed=70258424, external=19362773, loadavg=[0.02490234375, 0.08642578125, 0.080078125], uptime=12002908, trace=[column=9, file=/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bindings/bindings.js, function=bindings, line=88, method=null, native=false, column=35, file=/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/index.js, function=, line=8, method=null, native=false, column=32, file=module.js, function=Module._compile, line=571, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions..js, line=580, method=Module._extensions..js, native=false, column=32, file=module.js, function=Module.load, line=488, method=load, native=false, column=12, file=module.js, function=tryModuleLoad, line=447, method=null, native=false, column=3, file=module.js, function=Function.Module._load, line=439, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=498, method=require, native=false, column=19, file=internal/module.js, function=require, line=20, method=null, native=false, column=12, file=/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/date_util.js, function=, line=3, method=null, native=false, column=32, file=module.js, function=Module._compile, line=571, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions..js, line=580, method=Module._extensions..js, native=false, column=32, file=module.js, function=Module.load, line=488, method=load, native=false, column=12, file=module.js, function=tryModuleLoad, line=447, method=null, native=false, column=3, file=module.js, function=Function.Module._load, line=439, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=498, method=require, native=false, column=19, file=internal/module.js, function=require, line=20, method=null, native=false, column=17, file=/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/app.js, function=, line=71, method=null, native=false, column=32, file=module.js, function=Module._compile, line=571, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions..js, line=580, method=Module._extensions..js, native=false, column=32, file=module.js, function=Module.load, line=488, method=load, native=false, column=12, file=module.js, function=tryModuleLoad, line=447, method=null, native=false], stack=[Error: Could not locate the bindings file. Tried:, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/Debug/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/Release/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/out/Debug/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/Debug/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/out/Release/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/Release/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/default/time.node, → /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/compiled/7.6.0/linux/x64/time.node, at bindings (/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/bindings/bindings.js:88:9), at Object.<anonymous> (/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/index.js:8:35), at Module._compile (module.js:571:32), at Object.Module._extensions..js (module.js:580:10), at Module.load (module.js:488:32), at tryModuleLoad (module.js:447:12), at Function.Module._load (module.js:439:3), at Module.require (module.js:498:17), at require (internal/module.js:20:19), at Object.<anonymous> (/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/date_util.js:3:12), at Module._compile (module.js:571:32), at Object.Module._extensions..js (module.js:580:10), at Module.load (module.js:488:32), at tryModuleLoad (module.js:447:12), at Function.Module._load (module.js:439:3), at Module.require (module.js:498:17), at require (internal/module.js:20:19), at Object.<anonymous> (/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/app.js:71:17), at Module._compile (module.js:571:32), at Object.Module._extensions..js (module.js:580:10), at Module.load (module.js:488:32), at tryModuleLoad (module.js:447:12)] 2017-03-14T20:37:56.292Z - error: tries=[/var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/Debug/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/Release/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/out/Debug/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/Debug/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/out/Release/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/Release/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/build/default/time.node, /var/www/vhosts/kobelka.de/opencloud.kobelka.de/openhab-cloud/node_modules/time/compiled/7.6.0/linux/x64/time.node] 2017-03-14T20:37:56.303Z - info: openHAB-cloud: Redis connect response: OK 2017-03-14T20:37:56.304Z - info: Redis is ready 2017-03-14T20:37:56.392Z - warn: openHAB-cloud: GCM XMPP error: XMPP authentication failure

@bnoordhuis
Copy link
Member

bnoordhuis commented Mar 14, 2017

Okay, different module this time. Maybe do a clean install with rm -rf node_modules/ && npm install.

If I had to guess, it's that you switched node versions midway. Native modules need a rebuild after that.

@kobelka
Copy link
Author

kobelka commented Mar 14, 2017

@bnoordhuis That worked for me ! Great Thank You very much !

Now I have a problem with the app itself, but I think now I will ask at openhab.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants