mikeal / node.couchapp.js

Utility for writing couchapps.
Apache License 2.0
406 stars 78 forks source link

node 7.6 release problem: Error: The "sys" module is now called "util". #50

Open boxxxie opened 12 years ago

boxxxie commented 12 years ago
paul@paul-rt7-desktop:~/Dropbox/work/rt7/db/users$ couchapp push filters.js http://paul:password@localhost:5984/_users

node.js:197
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: The "sys" module is now called "util".
    at sys.js:1:69
    at NativeModule.compile (node.js:517:5)
    at Function.require (node.js:485:18)
    at Function._load (module.js:296:25)
    at Module.require (module.js:356:17)
    at require (module.js:372:17)
    at Object.<anonymous> (/home/paul/node_modules/couchapp/main.js:2:11)
    at Module._compile (module.js:443:26)
    at Object..js (module.js:461:10)
    at Module.load (module.js:350:32)
jfhbrook commented 12 years ago

As far as I can tell, this is fixed in the github repo but isn't published. @mikeal You might oughta fix this since 0.8.0 is coming out Any Day Now. Plus, the deprecation warning in 0.6 is SOO lame.

klaemo commented 11 years ago

this issue can be closed. the newest couchapp on npm doesn't show this behavior anymore.