Skip to content

Instantly share code, notes, and snippets.

@pencilcheck
Created July 3, 2015 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pencilcheck/c9afab77dab9e5672408 to your computer and use it in GitHub Desktop.
Save pencilcheck/c9afab77dab9e5672408 to your computer and use it in GitHub Desktop.
TypeError: Cannot read property 'path' of undefined
at uploadUserFiles (/src/controllers/users.js:144:31)
at Layer.handle [as handle_request] (/src/node_modules/express/lib/router/layer.js:95:5)
at next (/src/node_modules/express/lib/router/route.js:131:13)
at ensureAuthenticated (/src/middlewares/auth.js:3:25)
at Layer.handle [as handle_request] (/src/node_modules/express/lib/router/layer.js:95:5)
at next (/src/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/src/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/src/node_modules/express/lib/router/layer.js:95:5)
at /src/node_modules/express/lib/router/index.js:277:22
at param (/src/node_modules/express/lib/router/index.js:349:14)
at param (/src/node_modules/express/lib/router/index.js:365:14)
at Function.process_params (/src/node_modules/express/lib/router/index.js:410:3)
at next (/src/node_modules/express/lib/router/index.js:271:10)
at Function.handle (/src/node_modules/express/lib/router/index.js:176:3)
at router (/src/node_modules/express/lib/router/index.js:46:12)
at Layer.handle [as handle_request] (/src/node_modules/express/lib/router/layer.js:95:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment