Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 3rd, 2012  |  syntax: None  |  size: 0.81 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ coffee app.coffee
  2.  
  3. TypeError: Object function (options){
  4.   if ('object' == typeof options) {
  5.     return new HTTPSServer(options, Array.prototype.slice.call(arguments, 1));
  6.   } else {
  7.     return new HTTPServer(Array.prototype.slice.call(arguments));
  8.   }
  9. } has no method 'use'
  10.     at Object.<anonymous> (/.../app.coffee:6:7)
  11.     at Object.<anonymous> (/.../app.coffee:7:4)
  12.     at Module._compile (module.js:402:26)
  13.     at Object.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script.js:62:19)
  14.     at /usr/local/lib/node_modules/coffee-script/lib/command.js:120:29
  15.     at /usr/local/lib/node_modules/coffee-script/lib/command.js:90:26
  16.     at [object Object].<anonymous> (fs.js:107:5)
  17.     at [object Object].emit (events.js:61:17)
  18.     at afterRead (fs.js:878:12)
  19.     at wrapper (fs.js:245:17)
  20.  
  21. $ node app.js
  22.  
  23. (no errors)