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

Unable to successfully run "npm install" in Manjaro Linux. #167

Open
trusktr opened this issue Apr 19, 2020 · 17 comments
Open

Unable to successfully run "npm install" in Manjaro Linux. #167

trusktr opened this issue Apr 19, 2020 · 17 comments

Comments

@trusktr
Copy link

trusktr commented Apr 19, 2020

No description provided.

@trusktr
Copy link
Author

trusktr commented Apr 19, 2020

Oops, I pressed enter too fast.

I cloned the repo, then ran meteor npm install and it ends with errors:

full output
Vulcan-Starter git:master ❯ meteor npm install

> bcrypt@3.0.3 install /home/trusktr/src/Vulcan-Starter/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.3/bcrypt_lib-v3.0.3-node-v72-linux-x64-glibc.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.3 and node@12.16.1 (node-v72 ABI, glibc) (falling back to source compile with node-gyp) 
make: Entering directory '/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
../src/bcrypt.cc: In function ‘void encode_salt(char*, u_int8_t*, char, u_int16_t, u_int8_t)’:
../src/bcrypt.cc:121:31: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  121 |  snprintf(salt + 4, 4, "%2.2u$", logr);
      |                               ^
../src/bcrypt.cc:121:10: note: ‘snprintf’ output between 4 and 5 bytes into a destination of size 4
  121 |  snprintf(salt + 4, 4, "%2.2u$", logr);
      |  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/bcrypt.cc: In function ‘void bcrypt(const char*, const char*, char*)’:
../src/bcrypt.cc:264:36: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
  264 |  snprintf(encrypted + i, 4, "%2.2u$", logr);
      |                                    ^
../src/bcrypt.cc:264:10: note: ‘snprintf’ output between 4 and 5 bytes into a destination of size 4
  264 |  snprintf(encrypted + i, 4, "%2.2u$", logr);
      |  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
In file included from ../../nan/nan_converters.h:67,
                 from ../../nan/nan.h:222,
                 from ../src/bcrypt_node.cc:1:
../../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:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
   18 |       val->To ## TYPE(isolate->GetCurrentContext())                            \
      |                                                   ^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
   22 | X(Boolean)
      | ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2664:59: note: declared here
 2664 |                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
      |                                                           ^~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67,
                 from ../../nan/nan.h:222,
                 from ../src/bcrypt_node.cc:1:
../../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: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
   37 |   return val->NAME ## Value(isolate->GetCurrentContext());                     \
      |                                                         ^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
   40 | X(bool, Boolean)
      | ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2702:51: note: declared here
 2702 |                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
      |                                                   ^~~~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:223,
                 from ../src/bcrypt_node.cc:1:
../../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:356:37: error: no matching function for call to ‘v8::StringObject::New(v8::Local<v8::String>&)’
  356 |   return v8::StringObject::New(value).As<v8::StringObject>();
      |                                     ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:5531:23: note: candidate: ‘static v8::Local<v8::Value> v8::StringObject::New(v8::Isolate*, v8::Local<v8::String>)’
 5531 |   static Local<Value> New(Isolate* isolate, Local<String> value);
      |                       ^~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:5531:23: note:   candidate expects 2 arguments, 1 provided
In file included from ../../nan/nan_new.h:189,
                 from ../../nan/nan.h:223,
                 from ../src/bcrypt_node.cc:1:
../../nan/nan_implementation_12_inl.h:356:58: error: expected primary-expression before ‘>’ token
  356 |   return v8::StringObject::New(value).As<v8::StringObject>();
      |                                                          ^
../../nan/nan_implementation_12_inl.h:356:60: error: expected primary-expression before ‘)’ token
  356 |   return v8::StringObject::New(value).As<v8::StringObject>();
      |                                                            ^
In file included from ../src/bcrypt_node.cc:1:
../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../nan/nan.h:2232:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
 2232 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
      |                                                              ^
In file included from /usr/include/c++/9.3.0/cassert:44,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node_object_wrap.h:26,
                 from ../../nan/nan.h:55,
                 from ../src/bcrypt_node.cc:1:
../../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’
   24 |     assert(persistent().IsNearDeath());
      |                         ^~~~~~~~~~~
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../../nan/nan_object_wrap.h:127:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
  127 |     assert(wrap->handle_.IsNearDeath());
      |                          ^~~~~~~~~~~
../src/bcrypt_node.cc: In function ‘char {anonymous}::ToCharVersion(v8::Local<v8::String>)’:
../src/bcrypt_node.cc:66:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::String>&)’
   66 |   String::Utf8Value value(str);
      |                              ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:3135:5: note: candidate: ‘v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Local<v8::Value>)’
 3135 |     Utf8Value(Isolate* isolate, Local<v8::Value> obj);
      |     ^~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:3135:5: note:   candidate expects 2 arguments, 1 provided
../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::GenerateSalt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bcrypt_node.cc:121:60: error: no matching function for call to ‘v8::Value::ToString()’
  121 |     const char minor_ver = ToCharVersion(info[0]->ToString());
      |                                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::GenerateSaltSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bcrypt_node.cc:150:60: error: no matching function for call to ‘v8::Value::ToString()’
  150 |     const char minor_ver = ToCharVersion(info[0]->ToString());
      |                                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Encrypt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bcrypt_node.cc:212:44: error: no matching function for call to ‘v8::Value::ToString()’
  212 |     Nan::Utf8String data(info[0]->ToString());
      |                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc:213:44: error: no matching function for call to ‘v8::Value::ToString()’
  213 |     Nan::Utf8String salt(info[1]->ToString());
      |                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::EncryptSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bcrypt_node.cc:231:44: error: no matching function for call to ‘v8::Value::ToString()’
  231 |     Nan::Utf8String data(info[0]->ToString());
      |                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc:232:44: error: no matching function for call to ‘v8::Value::ToString()’
  232 |     Nan::Utf8String salt(info[1]->ToString());
      |                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Compare(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bcrypt_node.cc:312:45: error: no matching function for call to ‘v8::Value::ToString()’
  312 |     Nan::Utf8String input(info[0]->ToString());
      |                                             ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc:313:49: error: no matching function for call to ‘v8::Value::ToString()’
  313 |     Nan::Utf8String encrypted(info[1]->ToString());
      |                                                 ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::CompareSync(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bcrypt_node.cc:331:42: error: no matching function for call to ‘v8::Value::ToString()’
  331 |     Nan::Utf8String pw(info[0]->ToString());
      |                                          ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc:332:44: error: no matching function for call to ‘v8::Value::ToString()’
  332 |     Nan::Utf8String hash(info[1]->ToString());
      |                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
../src/bcrypt_node.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::GetRounds(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bcrypt_node.cc:352:44: error: no matching function for call to ‘v8::Value::ToString()’
  352 |     Nan::Utf8String hash(info[0]->ToString());
      |                                            ^
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note: candidate: ‘v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const’
 2668 |   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
      |                                            ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 provided
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8-internal.h:14,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:27,
                 from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note: candidate: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided
 2684 |                 Local<String> ToString(Isolate* isolate) const);
      |                               ^~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
  328 |   declarator __attribute__((deprecated(message)))
      |   ^~~~~~~~~~
In file included from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
../src/bcrypt_node.cc: At global scope:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:601:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  601 |       (node::addon_register_func) (regfunc),                          \
      |                                           ^
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:635:3: note: in expansion of macro ‘NODE_MODULE_X’
  635 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/bcrypt_node.cc:375:1: note: in expansion of macro ‘NODE_MODULE’
  375 | NODE_MODULE(bcrypt_lib, init);
      | ^~~~~~~~~~~
In file included from /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node.h:63,
                 from ../../nan/nan.h:53,
                 from ../src/bcrypt_node.cc:1:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/node_object_wrap.h:85:78:   required from here
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:10226:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
10226 |                reinterpret_cast<Callback>(callback), type);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../../nan/nan_object_wrap.h:66:61:   required from here
/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/include/node/v8.h:10226:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
../src/bcrypt_node.cc:65:6: warning: ‘char {anonymous}::ToCharVersion(v8::Local<v8::String>)’ defined but not used [-Wunused-function]
   65 | char ToCharVersion(Local<String> str) {
      |      ^~~~~~~~~~~~~
make: *** [bcrypt_lib.target.mk:113: Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 1
make: Leaving directory '/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:311:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.4.31-1-MANJARO
gyp ERR! command "/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/lib/binding" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
gyp ERR! cwd /home/trusktr/src/Vulcan-Starter/node_modules/bcrypt
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.0.7
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/lib/binding --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:311:20)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 5.4.31-1-MANJARO
node-pre-gyp ERR! command "/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node" "/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/trusktr/src/Vulcan-Starter/node_modules/bcrypt
node-pre-gyp ERR! node -v v12.16.1
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok 
Failed to execute '/home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node /home/trusktr/.meteor/packages/meteor-tool/.1.10.1.k3wg3l.4aco++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/home/trusktr/src/Vulcan-Starter/node_modules/bcrypt/lib/binding --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm WARN jss-camel-case@6.1.0 requires a peer of jss@^9.7.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-default-unit@8.0.2 requires a peer of jss@^9.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-global@3.0.0 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-nested@6.0.1 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-props-sort@6.0.0 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-vendor-prefixer@7.0.0 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-no-ssr@1.1.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-router-scroll@0.4.4 requires a peer of react-router@^2.3.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bcrypt@3.0.3 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the bcrypt@3.0.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/trusktr/.npm/_logs/2020-04-19T04_43_04_626Z-debug.log

I get the same errors with npm install using the latest npm.

Any ideas? Looking forward to trying this. :)

@ClockRide
Copy link

Same for MacOS Catalina 10.15.5 :(

@ClockRide
Copy link

Fixed by changing Node.JS Version to 12.16.2

@eric-burel
Copy link
Collaborator

This is probably more a Meteor issue than a Vulcan issue, we updated to 1.10 just recently on the devel branch.

@TomFreudenberg
Copy link

Hi, as Joe @trusktr I would like to test this [coming from old meteor days ;-) ]

Unfortunaley it doesnt work as described.

I tested with node v10.20.0 and v12.16.3 as well as with master and devel branch from this repo and meteor 1.8.

Neither master or devel may be able to be updated to meteor 1.10 via meteor update.

With devel branch I can't even run npm install

With master branch npm install will run when using node v10.20.0 but when starting via npm start, I get this error when opening localhost:3000

result npm install

npm WARN jss-camel-case@6.1.0 requires a peer of jss@^9.7.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-default-unit@8.0.2 requires a peer of jss@^9.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-global@3.0.0 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-nested@6.0.1 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-props-sort@6.0.0 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN jss-vendor-prefixer@7.0.0 requires a peer of jss@^9.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-no-ssr@1.1.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-router-scroll@0.4.4 requires a peer of react-router@^2.3.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.

audited 34051 packages in 11.662s

16 packages are looking for funding
  run `npm fund` for details

found 799 vulnerabilities (592 low, 9 moderate, 198 high)
  run `npm audit fix` to fix them, or `npm audit` for details

result from console on access

=> Started your app.

=> App running at: http://localhost:3000/
I20200429-03:27:36.603(2)? GraphQL schema saved to /Users/xy/Workspace/Meteor-Vulcan/hello-world/schema.graphql
W20200429-03:27:49.991(2)? (STDERR) Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
W20200429-03:27:49.991(2)? (STDERR)     in HeadTags
W20200429-03:27:49.991(2)? (STDERR)     in div
W20200429-03:27:49.991(2)? (STDERR)     in Context.Provider
W20200429-03:27:49.991(2)? (STDERR)     in IntlProvider
W20200429-03:27:49.992(2)? (STDERR)     in App
W20200429-03:27:49.992(2)? (STDERR)     in Context.Consumer
W20200429-03:27:49.992(2)? (STDERR)     in withRouter(App)
W20200429-03:27:49.992(2)? (STDERR)     in withCookies(Component)
W20200429-03:27:49.992(2)? (STDERR)     in Context.Consumer
W20200429-03:27:49.993(2)? (STDERR)     in ApolloConsumer
W20200429-03:27:49.993(2)? (STDERR)     in withApollo(withCookies(Component))
W20200429-03:27:49.993(2)? (STDERR)     in withUpdateUser
W20200429-03:27:49.993(2)? (STDERR)     in withSiteData
W20200429-03:27:49.993(2)? (STDERR)     in withCurrentUser
W20200429-03:27:49.993(2)? (STDERR)     in CookiesProvider
W20200429-03:27:49.993(2)? (STDERR)     in Context.Provider
W20200429-03:27:49.993(2)? (STDERR)     in Router
W20200429-03:27:49.994(2)? (STDERR)     in StaticRouter
W20200429-03:27:49.994(2)? (STDERR)     in Context.Provider
W20200429-03:27:49.994(2)? (STDERR)     in Context.Consumer
W20200429-03:27:49.994(2)? (STDERR)     in ApolloProvider
W20200429-03:27:49.994(2)? (STDERR)     in AppGenerator
W20200429-03:27:49.994(2)? (STDERR)     in Context.Provider
W20200429-03:27:50.148(2)? (STDERR) Error while server-rendering. date: Wed Apr 29 2020 03:27:50 GMT+0200 (CEST) url: [object Object]
W20200429-03:27:50.149(2)? (STDERR) Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
W20200429-03:27:50.149(2)? (STDERR)     at ReactDOMServerRenderer.render (/Users/xy/Workspace/Meteor-Vulcan/hello-world/node_modules/react-dom/cjs/react-dom-server.node.development.js:4006:17)
W20200429-03:27:50.149(2)? (STDERR)     at ReactDOMServerRenderer.read (/Users/xy/Workspace/Meteor-Vulcan/hello-world/node_modules/react-dom/cjs/react-dom-server.node.development.js:3536:29)
W20200429-03:27:50.150(2)? (STDERR)     at renderToStaticMarkup (/Users/xy/Workspace/Meteor-Vulcan/hello-world/node_modules/react-dom/cjs/react-dom-server.node.development.js:4261:27)
W20200429-03:27:50.150(2)? (STDERR)     at process (/Users/xy/Workspace/Meteor-Vulcan/hello-world/node_modules/@apollo/react-ssr/lib/react-ssr.cjs.js:38:16)
W20200429-03:27:50.150(2)? (STDERR)     at /Users/xy/Workspace/Meteor/packages/promise/.0.11.2.7ew9go.l2l79++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
W20200429-03:27:50.150(2)? (STDERR)  => awaited here:
W20200429-03:27:50.150(2)? (STDERR)     at Function.Promise.await (/Users/xy/Workspace/Meteor/packages/promise/.0.11.2.7ew9go.l2l79++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:56:12)
W20200429-03:27:50.150(2)? (STDERR)     at Promise.asyncApply (packages/vulcan:lib/lib/server/apollo-ssr/renderPage.js:61:7)
W20200429-03:27:50.150(2)? (STDERR)     at /Users/xy/Workspace/Meteor/packages/promise/.0.11.2.7ew9go.l2l79++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40

It would be great to get some answers to get this running

Thanks
Tom

@eric-burel
Copy link
Collaborator

eric-burel commented Apr 29, 2020

@TomFreudenberg can you please check your version of react-helmet? It should be version 6

I've checked the package.json of the Vulcan starter and it should be ok. This error is probably thrown by this line: https://github.com/VulcanJS/Vulcan/blob/devel/packages/vulcan-core/lib/modules/components/HeadTags.jsx#L3

You should check Starter on "master" and Vulcan on "devel" (sorry for the difference in branches, we are preparing a release very soon, I've merged the react-helmet update on the starter master instead of devel).

@TomFreudenberg
Copy link

Hi @eric-burel

yes, it is version 6

You should check Starter on "master" and Vulcan on "devel" (sorry for the difference in branches, we are preparing a release very soon, I've merged the react-helmet update on the starter master instead of devel).

Does it mean I should use the https://docs.vulcanjs.org/#Two-Repo-Install-Optional procedure with master and devel branches as you mentioned?

@eric-burel
Copy link
Collaborator

Yeah if the normal install is broken that's better, sorry for this normally the master branch of the starter is supposed to work with the currently published version. Will be fixed soon.

@TomFreudenberg
Copy link

Hi @eric-burel can't make it in any way:

That's the used code base

cd /tmp
mkdir testVulcan
cd testVulcan
git clone -b devel https://github.com/VulcanJS/Vulcan
git clone -b master https://github.com/VulcanJS/Vulcan-Starter.git
cd Vulcan-Starter
mv sample_settings.json settings.json

That's my used tools

nvm use --lts=Erbium

node --version
# response: v12.16.3

cd /tmp/testVulcan
meteor --version
# reponse: Meteor 1.10.2

cd /tmp/testVulcan/Vulcan
meteor --version
# response: Meteor 1.10.2

cd /tmp/testVulcan/Vulcan-Starter
meteor --version
# response: Meteor 1.8.1

Try 1

cd /tmp/testVulcan/Vulcan-Starter
npm install
RESULT 1

This at least failed on build bcrypt

npm ERR! Failed at the bcrypt@3.0.3 install script.

Try 2

# use node 10
nvm use --lts=Dubnium

cd /tmp/testVulcan/Vulcan-Starter
npm install
METEOR_PACKAGE_DIRS="/tmp/testVulcan/Vulcan/packages" meteor --port 3000 --settings settings.json
RESULT 2

This will build but failed running the app

=> Started proxy.                             
=> Meteor 1.10.2 is available. Update this project with 'meteor update'.
=> Errors prevented startup:                  
   
   While selecting package versions:
   error: Conflict: Constraint apollo@3.1.0 is not satisfied by apollo 0.0.1.
   Constraints on package "apollo":
   * apollo@3.1.0 <- vulcan:lib 1.14.1 <- vulcan:core 1.14.1
   
=> Your application has errors. Waiting for file change.
   Selecting package versions                -

Try 3 to XYZ

Whatever combination of node and meteor - always fail on build node-gyp bcrypt.

It also makes no difference if using npm direct or via meteor command

METEOR_PACKAGE_DIRS="/tmp/testVulcan/Vulcan/packages" meteor npm install
npm install

Off-topic: I remember a number of issues with bcrypt when I worked on the meteor-universal forks :-(

@TomFreudenberg
Copy link

@eric-burel

You mentioned Vulcan 2.0 based on next.js to me.

Is there already a starter or kind of documentation to go on with that? Maybe better than to spend effort into other.

@eric-burel
Copy link
Collaborator

Regarding the Apollo version constraint come on Slack, you are not the only one to have this issue. Basically it's Meteor going nuts during update for no reason, but some users have found solutions for this.

Sadly no for Next version, we are currently investigating Next possibilities and limitations thoroughly before doing anything.

@eric-burel
Copy link
Collaborator

From @kevinashworth

Saw the same error as at the very top of this thread. To get past that error, it took some experimenting, but I removed the 3.1.0 version number from this line: https://github.com/VulcanJS/Vulcan/blob/d920d3f115a4d89e3e00c5c0fefda17483e5f533/packages/vulcan-lib/package.js#L43 then I had to delete apollo from the versions file (it was at v0.0.1) and run ‘meteor add apollo’ and it installed 3.0.1, and then success

@TomFreudenberg
Copy link

Hi @eric-burel

after a day of trying different releases - constraints etc. - result: WON'T WORK :-(

I have managed to install and get VulcanJS from devel build and running.

That is now using meteor 1.10.2

But the starter based on meteor 1.8.1 is a mess in case of constraint conflicts.

Neither combination were successfull and could get started.

I guess it would be the right way to upgrade the starter also to meteor 1.10.x.

Do you have some tips how to proceed with that upgrade? Where to best find documentation for the updated APIs?

Thanks for some guidiance
Tom

P.S.: If you prefer I may come in contact via Slack.

@TomFreudenberg
Copy link

Maybe my question was a bit unclear - is there a chance to start a VulcanJS project without the Starter project?

@TomFreudenberg
Copy link

YIHAAA

@eric-burel @trusktr

Find a way to get the example-simple running:

Steps to reproduce:
nvm use --lts=Erbium

cd /your-project-path

git clone -b devel https://github.com/VulcanJS/Vulcan

# Open and edit the package.json
vi package.json
# find bcrypt and change release to 3.0.8
# find node-sass and change release to 4.13.1

# Open and edit the .meteor/packages
vi .meteor/packages
# remove release info @1.x.x from accounts-password

# install npms
meteor npm install bcrypt
meteor npm install
meteor npm install @babel/runtime@latest
meteor npm install body-parser-graphql

# update to latest meteor (currently 1.10.2)
meteor update
meteor update --all-packages

Now you should be able to run meteor and get some response in browser

Get the example
nvm use --lts=Erbium

cd /your-project-path

git clone -b master https://github.com/VulcanJS/Vulcan-Starter

# cd into VULCAN folder
cd Vulcan

# copy example package from Starter
cp -pr ../Vulcan-Starter/packages/example-simple packages

# Open and edit .meteor/packages 
vi .meteor/packages
# add line: example-simple
# at last line

# get settings sample from Starter
cp -p ../Vulcan-Starter/sample_settings.json settings.json

# FINAL run meteor
meteor --port 3000 --settings settings.json

Now you should get the example simple app in your browser.

TADAAAA

@eric-burel - I will create a fork and send you a pull request

@TomFreudenberg
Copy link

Until the PRs are accepted you may try:

nvm use --lts=Erbium
cd /your-working-space

git clone -b devel https://github.com/TomFreudenberg/Vulcan.git
git clone -b master https://github.com/TomFreudenberg/Vulcan-Starter.git
cd Vulcan-Starter
cp sample-settings.json settings.json
METEOR_PACKAGE_DIRS="../Vulcan/packages" meteor npm install
METEOR_PACKAGE_DIRS="../Vulcan/packages" meteor --port 3000 --settings settings.json

@TomFreudenberg
Copy link

@trusktr Joe - wondering if that fixes the issue on your side too?

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

4 participants