Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MeanSocket.register(function(app, auth, database, http) {
- var io = require('./server/config/socketio')(http);
- MeanSocket.io = io;
- //We enable routing. By default the Package Object is passed to the routes
- MeanSocket.routes(io);
- return MeanSocket;
- });
- MeanSocket.register(function(app, auth, database, http, doesntExist) {
- ...
- Error: dependency 'doesntExist' was not registered
- at get (/public/dryCleaning/node_modules/dependable/index.js:115:15)
- module.exports = function(MeanSocket, io, doesntExist) {
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement