nodejs mysql(libmysqlclient)

时间:2013-06-19 19:35:13

标签: mysql node.js

我使用https://github.com/calzoneman/sync项目并收到此错误。我是nodejs的新手。如何解决这个问题?
我在安装手册中完成了所有操作

root@srv:/var/www/synch# node server.js
Starting CyTube v1.9.5

/var/www/synch/node_modules/mysql-libmysqlclient/lib/mysql-libmysqlclient.js:208
MysqlConnectionQueued.prototype = new bindings.MysqlConnection();
                                              ^
TypeError: Cannot read property 'MysqlConnection' of null
    at Object.<anonymous> (/var/www/synch/node_modules/mysql-libmysqlclient/lib/mysql-libmysqlclient.js:208:47)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/var/www/synch/auth.js:12:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)

0 个答案:

没有答案