-
Notifications
You must be signed in to change notification settings - Fork 35
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
Cannot find module ''./build/Debug/buffertools.node' on windows electron #71
Comments
What happens when you |
He also runs in the catch block. this is my structure
that is my package json
on my development maschine (mac osx) it works perfectly only on fucking windows it appears this error |
I think you misunderstood my suggestion. I'm asking you to require the .node file directly. Try this from the command line and post the output:
|
I can only run this script on my development maschine i think and thats the output
I hope this is what you mean. But like i said, on my development maschine it works like expected. I dont know how i can run a node command without installing nodejs (there ist only a node runtime (ndoe.dll) in the folder. |
Update:
|
Looks like you're trying to load a 64 bits buffertools.node into a 32 bits run-time. Run |
i have compiled it on a windows 32bit system and it works as a stand alone version, but in combination with electron it doesnt work. Now it is not the problem of this module, but maybe you have a solution for this? |
You probably need to tell node-gyp where to find the electron headers / sources:
|
Ah okay thanks now i understand. Thats not the problem of your library but the problem of pscslite, it only works with node < 4, so and the electron verison is 0.34.2. I have run following commands
Now i automate this build :) Thank you very much |
No problem, glad to hear it's working now. I'll go ahead and close the issue. |
I use pcsclite for scanning chip cards (buffertools is a node_module of them) in my electron app. on mac osx it works fine but when i start the same app on windows (win7) it raises an error
The problem is that he cannot find
./build/Release/buffertools.node
and he run the catch block. But the./build/Release/buffertools.node
is there.Someone got an idea, is that an electron bug or from buffertools? Someon has an work around?
The text was updated successfully, but these errors were encountered: