Public bug reported:
I tried to install PostgreSQL to be used with NodejS on a Ubuntu Precise
12.04 LTS system using this invocation of apt-get:
# apt-get install postgresql postgresql-client nodejs libnode-pg
Next I try to invoke a snippet like this:
#!/usr/bin/node
var pg = require( "pg" ).native;
This is throwing exception in module loading as given in subject.
Another warning is rendered before exception's trace reading:
The "sys" module is now called "util". It should have a similar
interface.
** Affects: node-postgres (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1039421
Title:
Cannot find module '/usr/lib/nodejs/pg/../build/default/binding'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/node-postgres/+bug/1039421/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs