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
%1 is not a valid Win32 application. #3052
Comments
This is a bug in node-leveldown; IIRC they have problems building on Windows. The workaround is... I dunno, @calvinmetcalf is there some way to disable LevelDOWN and use SQLdown or medeadown or something else instead? We should start documenting this in our FAQs due to the volume of issues we get about this. |
Oh ok, I hope you can find a way to resolve this, as PouchDB is amazing and I've been using it in many projects before, but first time I try this with node. |
I'll try asking the in ##leveldb room in IRC |
If you can figure out a way to force-install pouchdb without levelup installing correctly, then you can just swap it out for any other *down adapter at runtime. |
I've also run on issues when trying to use pouchdb-server on Node on Windows; stuck with the "hard work" of having to compile leveldown. Hope there is a way to solve that :) 👍 |
@cedriking which version of Node are you using? |
Could this help? https://www.npmjs.org/package/leveldown-prebuilt |
I'm currently using Node v0.11.13 |
I tried a test run with https://www.npmjs.org/package/leveldown-prebuilt previously, I gave up on it fairly early but should look into it again, if we can fix the windows build problems it would be good, getting a lot of problems with them and I just hoped they would get fixed upstream |
So from the error it looks like leveldown.node is built as 64 bit but you may be running 32bit node? If so Can you open the Developer Command Prompt under Visual Studio Tools in All programs and run And copy the output here If node isn't installed there then you can find out where it is by going
Thanks |
^^ what @No9 said, the problem of a mismatch of 32 vs 64 bit node executable vs addon on Windows is a hairy one and usually most easily solved by just opting for the 32-bit version of Node from the beginning. |
Upstream issue that looks fixed |
Hello everyone,
I've installed the node module for pouchdb, but when I try to run my application I get this error:
I dont know if someone else had this and how he/she resolved it.
Thank you for your help.
btw: I'm using Windows 8.1 x64
The text was updated successfully, but these errors were encountered: