Sannis / node-mysql-libmysqlclient

Asynchronous MySQL binding for Node.js
http://sannis.github.com/node-mysql-libmysqlclient
Other
229 stars 47 forks source link

Error building/installing the module #151

Closed ecdeveloper closed 12 years ago

ecdeveloper commented 12 years ago

After updating node 0.6 > 0.8 I have tried to reinstall the mysql-libmysqlclient. When trying to install using npm:

me@me-desktop:~/dev$ npm install mysql-libmysqlclient npm WARN forms@0.1.0 package.json: bugs['web'] should probably be bugs['url'] npm WARN express-session-mongo@0.0.1 package.json: bugs['web'] should probably be bugs['url']

And that's all.

When trying to build from sources: me@me-desktop:~/dev/node_modules/node-mysql-libmysqlclient$ node-waf configure build arg[0] directory does not contain a wscript file

Sannis commented 12 years ago

And that's all.

Can you post npm-debug.log somewhere?

arg[0] directory does not contain a wscript file

Looks like you does not updute npm for a while. Pleas post node -v and npm -v output in this issue.

ecdeveloper commented 12 years ago

After executing the npm install command - there is no debug npm log in dir.

me@me-desktop:~/dev$ node -v v0.8.0 me@me-desktop:~/dev$ npm -v 1.1.0-beta-4

Sannis commented 12 years ago

Yes, this is outdated npm, node v0.8.0 uses npm v1.1.32: https://github.com/joyent/node/blob/v0.8.0/deps/npm/package.json#L2

You can try to reinstall node or probably run sudo npm -g update npm to solve this issue.

ecdeveloper commented 12 years ago

Great! That solved the issue, thanks :)

Sannis commented 12 years ago

Not a problem :)