socketstream/socketstream — Issue #119: Error: Cannot find module 'custom_auth'
Author: pierroweb
Created: 2012-01-19 19:25:29+00:00
State: open

I get the following error when the user tries to authenticate on my server (ubuntu).
With the same code on my local machine, it's just fine, but when authenticating a user on the server I get this exception :

19 Jan 20:15:14 - PID 27877 - Error: Error: Cannot find module 'custom_auth'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Session.authenticate (/usr/local/lib/node_modules/socketstream/lib/backend/session.coffee:112:15)
at Object.authenticate (/home/nickname/project/app/server/app.coffee:10:27)
at /usr/local/lib/node_modules/socketstream/lib/backend/responders/server.coffee:92:21
at EventEmitter. (/usr/local/lib/node_modules/socketstream/lib/backend/responders/server.coffee:22:14)
at EventEmitter.emit (events.js:70:17)
at /usr/local/lib/node_modules/socketstream/lib/backend/worker.coffee:39:43

I effectively have a custom_auth.coffee file in lib/server/ for login logic, but I dont understand why it is found on my local OSX and not on the server
It happens with socketstream 2.7 (the npm version) and node 0.6.5

any clue?