Skip to content

Fails to compile on macOS 10.14.6 with errors #22

@douira

Description

@douira

Description of the problem
The package fails to compile during installation and produces errors.
The errors seem to be these:

../lib/unix/API.cpp:36:38: error: no matching member function for call to 'ToString'
                String::Utf8Value printer(args[0]->ToString());
                                          ~~~~~~~~~^~~~~~~~
../lib/unix/API.cpp:167:47: error: no matching member function for call to 'ToString'
                string printer(*(String::Utf8Value(args[0]->ToString())));
                                                   ~~~~~~~~~^~~~~~~~
../lib/unix/API.cpp:168:44: error: no matching member function for call to 'ToString'
                string file(*(String::Utf8Value(args[1]->ToString())));
                                                ~~~~~~~~~^~~~~~~~
../lib/unix/API.cpp:169:47: error: no matching member function for call to 'ToString'
                string options(*(String::Utf8Value(args[2]->ToString())));
                                                   ~~~~~~~~~^~~~~~~~

The entire log output including warnings and notes is here: https://gist.github.com/douira/066a8bb4cd9781434a0242c09a927b3b

To Reproduce
npm install --save node-native-printer

OS
macOS 10.14.6 (latest at the time)
I have XCode 10.3 (10G8) and GNU Make 3.81 installed. (latest at the time)
Running Node.js 12.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions