Sannis / node-mysql-libmysqlclient

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

TypeError: Cannot read property 'MysqlConnection' of null #197

Open abhisekdg opened 7 years ago

abhisekdg commented 7 years ago

Node Version - 6.10.2 ( Previously working fine with v0.10.26) NPM version - 3.10.10 OS - MacOS Sierra 10.12.4

@https://travis-ci.org/Sannis/node-mysql-libmysqlclient/jobs/194103714

var mysqllibclient = require('mysql-libmysqlclient'); ( 1.5.2)

After upgrading the node version to latest, it started throwing error.

MysqlConnectionQueued.prototype = new bindings.MysqlConnection(); TypeError: Cannot read property 'MysqlConnection' of null

Please help me or guide me !!!

fmkone commented 6 years ago

I am facing the same issue and want to run example.js in docs/examples folder. I have Node 7.0.0