electron-userland / electron-installer-dmg

Create DMG installers for your electron apps using appdmg.

Home Page:https://github.com/electron-userland/electron-installer-dmg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with macOS node 12.2.0

cdburke opened this issue · comments

Install on macOS mojave with node 12.2.0 gives an error:

$ npm install -g electron-installer-dmg
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
/usr/local/bin/electron-installer-dmg -> /usr/local/lib/node_modules/electron-installer-dmg/bin/electron-installer-dmg.js

> fs-xattr@0.1.17 install /usr/local/lib/node_modules/electron-installer-dmg/node_modules/fs-xattr
> node-gyp rebuild

  CXX(target) Release/obj.target/xattr/src/async.o
../src/async.cc:35:15: warning: 'Call' is deprecated [-Wdeprecated-declarations]
    callback->Call(1, argv);
              ^
../../nan/nan.h:1673:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../nan/nan.h:103:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
../src/async.cc:52:46: error: no matching member function for call to 'ToObject'
    v8::Local<v8::Object> bufferObj = value->ToObject();
                                      ~~~~~~~^~~~~~~~

Unfortunately, this is an issue with the main dependency, appdmg. Please follow the linked issue for updates.

Since there's nothing actionable that can happen in this repository, I'm closing this issue.