Hey,
i tried to install pimatic on my raspberry pi 1 but the installation fails every time after 45 Minuten if i’ve started the pimatic.js
The log Part 1:
coffee-cache: compiling coffee-script file "lib/logger.coffee"...Done
13:14:48.827 2016-10-21 Friday
coffee-cache: compiling coffee-script file "lib/api.coffee"...Done
coffee-cache: compiling coffee-script file "lib/users.coffee"...Done
coffee-cache: compiling coffee-script file "lib/devices.coffee"...Done
coffee-cache: compiling coffee-script file "lib/matcher.coffee"...Done
coffee-cache: compiling coffee-script file "lib/milliseconds.coffee"...Done
coffee-cache: compiling coffee-script file "lib/variables.coffee"...Done
coffee-cache: compiling coffee-script file "lib/variables-ast-builder.coffee"...Done
coffee-cache: compiling coffee-script file "lib/actions.coffee"...Done
coffee-cache: compiling coffee-script file "lib/predicates.coffee"...Done
coffee-cache: compiling coffee-script file "lib/rules.coffee"...Done
coffee-cache: compiling coffee-script file "lib/rules-ast-builder.coffee"...Done
coffee-cache: compiling coffee-script file "lib/plugins.coffee"...Done
coffee-cache: compiling coffee-script file "lib/database.coffee"...Done
coffee-cache: compiling coffee-script file "lib/groups.coffee"...Done
coffee-cache: compiling coffee-script file "lib/pages.coffee"...Done
coffee-cache: compiling coffee-script file "lib/framework.coffee"...Done
13:22:20.034 [pimatic] info: Starting pimatic version 0.9.34
coffee-cache: compiling coffee-script file "config-schema.coffee"...Done
13:22:36.670 [pimatic] info: Installing database package sqlite3, this can take some minutes
13:25:58.727 [pimatic, ppm] info: > sqlite3@3.1.3 install /home/pi/pimatic-app/node_modules/sqlite3
13:25:58.800 [pimatic, ppm] info: > node-pre-gyp install --fallback-to-build
13:27:51.712 [pimatic, ppm] info: make: Entering directory '/home/pi/pimatic-app/node_modules/sqlite3/build'
13:27:51.779 [pimatic, ppm] info: ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3090100/sqlite3.c
13:27:57.411 [pimatic, ppm] info: TOUCH Release/obj.target/deps/action_before_build.stamp
13:27:57.569 [pimatic, ppm] info: CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3090100/sqlite3.o
14:10:32.394 [pimatic, ppm] info: AR(target) Release/obj.target/deps/sqlite3.a
14:10:32.766 [pimatic, ppm] info: COPY Release/sqlite3.a
14:10:33.258 [pimatic, ppm] info: CXX(target) Release/obj.target/node_sqlite3/src/database.o
14:10:35.869 [pimatic, ppm] info: In file included from ../src/database.h:10:0,
14:10:35.918 [pimatic, ppm] info: from ../src/database.cc:4:
14:10:35.958 [pimatic, ppm] info: ../node_modules/nan/nan.h:41:3: error: #error This version of node/NAN/v8 requires a C++11 compiler
14:10:49.040 [pimatic, ppm] info: In file included from /home/pi/pimatic-app/.node-gyp/4.6.1/include/node/node.h:42:0,
14:10:49.101 [pimatic, ppm] info: from ../node_modules/nan/nan.h:45,
14:10:49.149 [pimatic, ppm] info: from ../src/database.h:10,
14:10:49.394 [pimatic, ppm] info: from ../src/database.cc:4:
14:10:49.527 [pimatic, ppm] info: /home/pi/pimatic-app/.node-gyp/4.6.1/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’
14:10:49.567 [pimatic, ppm] info: /home/pi/pimatic-app/.node-gyp/4.6.1/include/node/v8.h:469:1: error: expected unqualified-id before ‘using’
14:10:49.609 [pimatic, ppm] info: /home/pi/pimatic-app/.node-gyp/4.6.1/include/node/v8.h:852:1: error: expected unqualified-id before ‘using’
14:11:01.156 [pimatic, ppm] info: In file included from ../node_modules/nan/nan.h:194:0,
14:11:01.199 [pimatic, ppm] info: from ../src/database.h:10,
14:11:01.241 [pimatic, ppm] info: from ../src/database.cc:4:
14:11:01.282 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:13:1: error: expected unqualified-id before ‘using’
14:11:01.336 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:16:1: error: expected unqualified-id before ‘using’
14:11:01.344 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:19:12: error: ‘Maybe’ does not name a type
14:11:01.388 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:24:12: error: ‘Maybe’ does not name a type
14:11:01.430 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:31:1: error: ‘MaybeLocal’ does not name a type
14:11:01.469 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:36:1: error: ‘MaybeLocal’ does not name a type
14:11:01.509 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:41:1: error: ‘Maybe’ does not name a type
14:11:01.547 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:46:1: error: ‘MaybeLocal’ does not name a type
14:11:01.586 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:51:1: error: ‘MaybeLocal’ does not name a type
14:11:01.594 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:59:1: error: ‘MaybeLocal’ does not name a type
14:11:01.633 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:64:12: error: ‘MaybeLocal’ does not name a type
14:11:01.707 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:69:12: error: ‘Maybe’ does not name a type
14:11:01.745 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:76:12: error: ‘Maybe’ does not name a type
14:11:01.754 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:83:12: error: ‘Maybe’ does not name a type
14:11:01.792 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:91:12: error: ‘MaybeLocal’ does not name a type
14:11:01.901 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:98:1: error: ‘MaybeLocal’ does not name a type
14:11:01.981 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:108:12: error: ‘Maybe’ does not name a type
14:11:02.024 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:114:12: error: ‘Maybe’ does not name a type
14:11:02.166 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:118:12: error: ‘Maybe’ does not name a type
14:11:02.285 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:125:1: error: ‘Maybe’ does not name a type
14:11:02.293 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:130:1: error: ‘MaybeLocal’ does not name a type
14:11:02.386 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:135:1: error: ‘MaybeLocal’ does not name a type
14:11:02.460 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:139:12: error: ‘Maybe’ does not name a type
14:11:02.559 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:145:12: error: ‘MaybeLocal’ does not name a type
14:11:02.745 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:150:12: error: ‘Maybe’ does not name a type
14:11:02.753 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:156:12: error: ‘Maybe’ does not name a type
14:11:02.882 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:162:12: error: ‘Maybe’ does not name a type
14:11:03.020 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:168:12: error: ‘Maybe’ does not name a type
14:11:03.159 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:174:12: error: ‘MaybeLocal’ does not name a type
14:11:03.298 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:180:12: error: ‘MaybeLocal’ does not name a type
14:11:03.392 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:186:12: error: ‘MaybeLocal’ does not name a type
14:11:03.685 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:194:12: error: ‘MaybeLocal’ does not name a type
14:11:03.719 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:201:1: error: ‘MaybeLocal’ does not name a type
14:11:03.831 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:205:12: error: ‘Maybe’ does not name a type
14:11:03.908 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:209:12: error: ‘Maybe’ does not name a type
14:11:03.967 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:213:12: error: ‘Maybe’ does not name a type
14:11:04.026 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:217:12: error: ‘MaybeLocal’ does not name a type
14:11:04.034 [pimatic, ppm] info: ../node_modules/nan/nan_maybe_43_inl.h:223:12: error: ‘MaybeLocal’ does not name a type
14:11:04.159 [pimatic, ppm] info: In file included from ../node_modules/nan/nan.h:199:0,
14:11:04.222 [pimatic, ppm] info: from ../src/database.h:10,
14:11:04.251 [pimatic, ppm] info: from ../src/database.cc:4:
14:11:04.355 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:14:11: error: ‘MaybeLocal’ does not name a type
14:11:04.363 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:16:56: error: ‘Maybe’ does not name a type
14:11:04.412 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:26:1: error: ‘return_t’ does not name a type
14:11:04.471 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:27:1: error: ‘return_t’ does not name a type
14:11:04.533 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:28:1: error: ‘return_t’ does not name a type
14:11:04.592 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:29:1: error: ‘return_t’ does not name a type
14:11:04.651 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:30:1: error: ‘return_t’ does not name a type
14:11:04.709 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:31:1: error: ‘return_t’ does not name a type
14:11:04.816 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:32:1: error: ‘return_t’ does not name a type
14:11:04.898 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:42:1: error: ‘return_t’ does not name a type
14:11:04.977 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:43:1: error: ‘return_t’ does not name a type
14:11:05.056 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:44:1: error: ‘return_t’ does not name a type
14:11:05.064 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:45:1: error: ‘return_t’ does not name a type
14:11:05.123 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:46:1: error: ‘return_t’ does not name a type
14:11:05.181 [pimatic, ppm] info: In file included from ../node_modules/nan/nan_converters.h:59:0,
14:11:05.243 [pimatic, ppm] info: from ../node_modules/nan/nan.h:199,
14:11:05.328 [pimatic, ppm] info: from ../src/database.h:10,
14:11:05.382 [pimatic, ppm] info: from ../src/database.cc:4:
14:11:05.401 [pimatic, ppm] info: ../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
14:11:05.490 [pimatic, ppm] info: ../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
14:11:05.518 [pimatic, ppm] info: ../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
14:11:05.642 [pimatic, ppm] info: ../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
14:11:05.711 [pimatic, ppm] info: ../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
14:11:05.769 [pimatic, ppm] info: ../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
14:11:05.828 [pimatic, ppm] info: ../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
14:11:05.887 [pimatic, ppm] info: ../node_modules/nan/nan_converters_43_inl.h:34:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<bool>’ does not name a type
14:11:05.945 [pimatic, ppm] info: ../node_modules/nan/nan_converters_43_inl.h:35:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<double>’ does not name a type
14:11:05.954 [pimatic, ppm] info: ../node_modules/nan/nan_converters_43_inl.h:36:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<long long int>’ does not name a type
14:11:06.066 [pimatic, ppm] info: ../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
14:11:06.074 [pimatic, ppm] info: ../node_modules/nan/nan_converters_43_inl.h:38:1: error: ‘return_t’ in ‘struct Nan::imp::ToFactory<int>’ does not name a type
14:11:06.153 [pimatic, ppm] info: In file included from ../node_modules/nan/nan.h:200:0,
14:11:06.251 [pimatic, ppm] info: from ../src/database.h:10,
14:11:06.290 [pimatic, ppm] info: from ../src/database.cc:4:
14:11:06.379 [pimatic, ppm] info: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’:
14:11:06.450 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:21:32: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
14:11:06.534 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:21:32: note: candidate is:
14:11:06.604 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
14:11:06.683 [pimatic, ppm] info: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’:
14:11:06.802 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:28:30: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
14:11:06.893 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:28:30: note: candidate is:
14:11:06.952 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
14:11:07.052 [pimatic, ppm] info: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’:
14:11:07.185 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:35:31: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’
14:11:07.193 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:35:31: note: candidate is:
14:11:07.282 [pimatic, ppm] info: ../node_modules/nan/nan_converters.h:53:38: note: template<class T> typename Nan::imp::ToFactory::return_t Nan::To(v8::Local<v8::Value>)
14:11:07.371 [pimatic, ppm] info: ../node_modules/nan/nan_new.h: At global scope:
14:11:07.442 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:43:11: error: ‘MaybeLocal’ does not name a type
14:11:07.531 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:75:17: error: ‘return_t’ does not name a type
14:11:07.629 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:141:17: error: ‘return_t’ does not name a type
14:11:07.691 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:147:17: error: ‘return_t’ does not name a type
14:11:07.720 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:148:17: error: ‘return_t’ does not name a type
14:11:07.804 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:160:17: error: ‘return_t’ does not name a type
14:11:07.863 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:161:17: error: ‘return_t’ does not name a type
14:11:07.941 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:162:17: error: ‘return_t’ does not name a type
14:11:08.030 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:163:17: error: ‘return_t’ does not name a type
14:11:08.139 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:165:17: error: ‘return_t’ does not name a type
14:11:08.218 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:166:17: error: ‘return_t’ does not name a type
14:11:08.297 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:182:17: error: ‘return_t’ does not name a type
14:11:08.321 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:183:17: error: ‘return_t’ does not name a type
14:11:08.399 [pimatic, ppm] info: In file included from ../node_modules/nan/nan_new.h:189:0,
14:11:08.478 [pimatic, ppm] info: from ../node_modules/nan/nan.h:200,
14:11:08.566 [pimatic, ppm] info: from ../src/database.h:10,
14:11:08.627 [pimatic, ppm] info: from ../src/database.cc:4:
14:11:08.686 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:56:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Date>’ does not name a type
14:11:08.694 [pimatic, ppm] info: ../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>)’:
14:11:08.772 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:90:46: error: ‘NewInstance’ was not declared in this scope
14:11:08.851 [pimatic, ppm] info: ../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>)’:
14:11:08.892 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:118:48: error: ‘NewInstance’ was not declared in this scope
14:11:08.941 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h: At global scope:
14:11:08.983 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:197:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
14:11:09.002 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:216:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
14:11:09.040 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:222:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::Script>’ does not name a type
14:11:09.079 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:254:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.117 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:262:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.156 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:268:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.194 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:275:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.204 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:281:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.253 [pimatic, ppm] info: ../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
14:11:09.292 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:347:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
14:11:09.320 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:354:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::UnboundScript>’ does not name a type
14:11:09.359 [pimatic, ppm] info: In file included from ../node_modules/nan/nan.h:200:0,
14:11:09.408 [pimatic, ppm] info: from ../src/database.h:10,
14:11:09.448 [pimatic, ppm] info: from ../src/database.cc:4:
14:11:09.487 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:293:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.526 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:299:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.565 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:305:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.573 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:311:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.612 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:317:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.708 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:323:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.757 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:329:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::String>’ does not name a type
14:11:09.816 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:335:1: error: ‘return_t’ in ‘struct Nan::imp::Factory<v8::RegExp>’ does not name a type
14:11:09.874 [pimatic, ppm] info: In file included from ../src/database.h:10:0,
14:11:09.883 [pimatic, ppm] info: from ../src/database.cc:4:
14:11:10.006 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’:
14:11:10.065 [pimatic, ppm] info: ../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.073 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’:
14:11:10.174 [pimatic, ppm] info: ../node_modules/nan/nan.h:659:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.183 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’:
14:11:10.241 [pimatic, ppm] info: ../node_modules/nan/nan.h:660:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.315 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’:
14:11:10.324 [pimatic, ppm] info: ../node_modules/nan/nan.h:660:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.382 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’:
14:11:10.451 [pimatic, ppm] info: ../node_modules/nan/nan.h:661:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.513 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’:
14:11:10.571 [pimatic, ppm] info: ../node_modules/nan/nan.h:661:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.630 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’:
14:11:10.688 [pimatic, ppm] info: ../node_modules/nan/nan.h:662:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.747 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’:
14:11:10.816 [pimatic, ppm] info: ../node_modules/nan/nan.h:662:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.878 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’:
14:11:10.935 [pimatic, ppm] info: ../node_modules/nan/nan.h:663:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:10.943 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’:
14:11:11.045 [pimatic, ppm] info: ../node_modules/nan/nan.h:663:3: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:11.053 [pimatic, ppm] info: ../node_modules/nan/nan.h: At global scope:
14:11:11.112 [pimatic, ppm] info: ../node_modules/nan/nan.h:671:14: error: ‘MaybeLocal’ does not name a type
14:11:11.257 [pimatic, ppm] info: ../node_modules/nan/nan.h:693:14: error: ‘MaybeLocal’ does not name a type
14:11:11.307 [pimatic, ppm] info: ../node_modules/nan/nan.h:709:14: error: ‘MaybeLocal’ does not name a type
14:11:11.356 [pimatic, ppm] info: ../node_modules/nan/nan.h:722:14: error: ‘MaybeLocal’ does not name a type
14:11:11.425 [pimatic, ppm] info: ../node_modules/nan/nan.h:739:14: error: ‘MaybeLocal’ does not name a type
14:11:11.433 [pimatic, ppm] info: ../node_modules/nan/nan.h:745:14: error: ‘MaybeLocal’ does not name a type
14:11:11.542 [pimatic, ppm] info: ../node_modules/nan/nan.h:753:14: error: ‘MaybeLocal’ does not name a type
14:11:11.580 [pimatic, ppm] info: ../node_modules/nan/nan.h:760:14: error: ‘MaybeLocal’ does not name a type
14:11:11.620 [pimatic, ppm] info: ../node_modules/nan/nan.h:766:14: error: ‘MaybeLocal’ does not name a type
14:11:11.680 [pimatic, ppm] info: ../node_modules/nan/nan.h: In member function ‘void Nan::Callback::SetFunction(const v8::Local<v8::Function>&)’:
14:11:11.710 [pimatic, ppm] info: ../node_modules/nan/nan.h:1402:40: error: ‘Set’ was not declared in this scope
14:11:11.749 [pimatic, ppm] info: ../node_modules/nan/nan.h:1402:40: note: suggested alternative:
14:11:11.788 [pimatic, ppm] info: /home/pi/pimatic-app/.node-gyp/4.6.1/include/node/v8.h:3021:17: note: ‘v8::Set’
14:11:11.826 [pimatic, ppm] info: ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
14:11:11.882 [pimatic, ppm] info: ../node_modules/nan/nan.h:1522:41: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:11.930 [pimatic, ppm] info: ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
14:11:11.989 [pimatic, ppm] info: ../node_modules/nan/nan.h:1540:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
14:11:12.049 [pimatic, ppm] info: ../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’:
14:11:12.138 [pimatic, ppm] info: ../node_modules/nan/nan.h:1574:58: error: no matching function for call to ‘New(const char*)’
14:11:12.216 [pimatic, ppm] info: ../node_modules/nan/nan.h:1574:58: note: candidates are:
14:11:12.303 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:390:21: note: template<class T, class M> v8::Local<T> Nan::New(const v8::Persistent<S, M>&)
14:11:12.322 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:395:21: note: template<class T, class M> v8::Local<T> Nan::New(const Nan::Persistent<T, M>&)
14:11:12.430 [pimatic, ppm] info: ../node_modules/nan/nan_implementation_12_inl.h:400:21: note: template<class T> v8::Local<T> Nan::New(const Nan::Global<T>&)
14:11:12.519 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:201:1: note: template<class T> typename Nan::imp::Factory::return_t Nan::New()
14:11:12.597 [pimatic, ppm] info: ../node_modules/nan/nan_new.h:207:1: note: template<class T, class A0> typename Nan::imp::Factory<T>::return_t Nan::New(A0)
14:11:12.646 [pimatic, ppm] info: ../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)
14:11:12.685 [pimatic, ppm] info: ../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)
14:11:12.693 [pimatic, ppm] info: ../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)
14:11:12.742 [pimatic, ppm] info: ../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>)
14:11:12.800 [pimatic, ppm] info: ../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)
14:11:12.859 [pimatic, ppm] info: ../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(const T&, const char*, Nan::FunctionCallback)’:
14:11:12.924 [pimatic, ppm] info: ../node_modules/nan/nan.h:1857:16: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available [-fpermissive]
14:11:12.982 [pimatic, ppm] info: ../node_modules/nan/nan.h:1857:16: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
14:11:13.041 [pimatic, ppm] info: ../node_modules/nan/nan.h:1858:45: error: ‘Nan::imp::FactoryBase<v8::Boolean>::return_t’ has no member named ‘ToLocalChecked’
I hope someone can help me
X-Ray