Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. MeanSocket.register(function(app, auth, database, http) {
  2.  
  3. var io = require('./server/config/socketio')(http);
  4. MeanSocket.io = io;
  5.  
  6. //We enable routing. By default the Package Object is passed to the routes
  7. MeanSocket.routes(io);
  8.  
  9. return MeanSocket;
  10. });
  11.  
  12. MeanSocket.register(function(app, auth, database, http, doesntExist) {
  13. ...
  14.  
  15. Error: dependency 'doesntExist' was not registered
  16. at get (/public/dryCleaning/node_modules/dependable/index.js:115:15)
  17.  
  18. module.exports = function(MeanSocket, io, doesntExist) {
  19. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement