node-db-mysql
node-db-mysql copied to clipboard
Windows support?
I am trying to install node-db-mysql on my Windows 7 machine, but it seems impossible:
After 'npm install db-mysql' (which works for other libs), I get:
'node-waf' is not recognized 'rm' is not recognized
(followed by a bunch of other errors). (I have all my MySQL executables in the system's PATH)
I suspect the installation script is Linux-only? Is it possible to install node-db-mysql on Windows?
i am also interested in a solution! :)
me too...
would be awesome
Right now the module needs to compile some dependencies to work. It means that you need a compiler to get it working. I don't know how this should be done on Windows but I believe you need to use Cygwin & Visual Studio. You will also need nodejs header files.
But no, this module is not Linux only. It works properly on everything not Windows (Linux, FreeBSD, Mac OS X at least).
Although the easiest approach would definitely be to use another module that does not have the same dependencies, with the latest version of node-waf (node-waf 2.0.0?) you may be able to run this on Windows now, but after spending a weekend trying to get another project to work on Windows that has dependencies such as node-waf 1.4.1, this is not easy (but not impossible!) - with later version things have become easier (but still cause headaches).
Might be worth trying to use this node-db-mysql module with updated dependencies?