mysql
mysql copied to clipboard
Error on no.de servers
When I try to deploy on a no.de server I get this error
remote:
remote:
remote: node.js:201
remote: throw e; // process.nextTick error, or 'error' event on first tick
remote: ^
remote: Error: Cannot find module 'urun'
remote: at Function._resolveFilename (module.js:334:11)
remote: at Function._load (module.js:279:25)
remote: at Module.require (module.js:357:17)
remote: at require (module.js:368:17)
remote: at Object.<anonymous> (/home/node/node-service/releases/2012-02-15T02-25-24.342443915/node_modules/mysql/test/run.js:1:63)
remote: at Module._compile (module.js:432:26)
remote: at Object..js (module.js:450:10)
remote: at Module.load (module.js:351:31)
remote: at Function._load (module.js:310:12)
remote: at Array.0 (module.js:470:10)
remote: make: *** [test] Error 1
remote:
remote: npm ERR! [email protected] test:`make test`
remote: npm ERR!`sh "-c" "make test"` failed with 2
remote: npm ERR!
remote: npm ERR! Failed at the [email protected] test script.
remote: npm ERR! This is most likely a problem with the mysql package,
remote: npm ERR! not with npm itself.
remote: npm ERR! Tell the author that this fails on your system:
remote: npm ERR! make test
remote: npm ERR! You can get their info via:
remote: npm ERR! npm owner ls mysql
remote: npm ERR! There is likely additional logging output above.
remote: npm ERR!
Any help?
You need the devDependencies in order to run the tests: https://github.com/felixge/node-mysql/blob/master/package.json#L18
Installing those will depend on how you deploy to no.de.