-
Notifications
You must be signed in to change notification settings - Fork 114
Npm install failed on windows 8.1. #6
Comments
👍
Here is my cli error output |
This module is not compatible with node 0.12 :-( |
@adrai I am attempting to upgrade it to the new C++ APIs. Good resources:
Currently stuck on (help appreciated 😀):
|
I suggest to use: https://github.com/nodejs/nan |
I will tackle this in the morning. It looks like
I probably need to do something like this:
But I am not sure what the
|
I have figured out most of the transformations for the Node v0.12.x but I am stuck on this line. I have tried the following but it results in an error and while I have done similar cast/conversion before, I can't make it work here. v8::Local<v8::Function> callback;
callback = args[0];
// ...
// Line 169: https://github.com/KABA-CCEAC/node-usb-detection/blob/master/src/detection.cpp#L169
ListBaton* baton = new ListBaton();
strcpy(baton->errorString, "");
baton->callback = new NanCallback(callback);
Update: I solved this by moving to |
I made pull #9 that solves this issue. You can depend on it now until the PR gets merged.
|
Console/CLI output
The text was updated successfully, but these errors were encountered: