Coder Social home page Coder Social logo

Comments (3)

Mindful-Design avatar Mindful-Design commented on June 8, 2024 1

How come this was this closed without a response? I have the same issue atm. :)

from megaboilerplate.

sahat avatar sahat commented on June 8, 2024

@jtomaszon Can you post an error stack trace so I can see where the error is happening?

from megaboilerplate.

jtomaszon avatar jtomaszon commented on June 8, 2024

TypeError: user.then is not a function
at exports.accountPut (/Users/jzon/Downloads/megaboilerplate-app/controllers/user.js:130:10)
at Layer.handle as handle_request
at next (/Users/jzon/Downloads/megaboilerplate-app/node_modules/express/lib/router/route.js:131:13)
at exports.ensureAuthenticated (/Users/jzon/Downloads/megaboilerplate-app/controllers/user.js:25:5)
at Layer.handle as handle_request
at next (/Users/jzon/Downloads/megaboilerplate-app/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/Users/jzon/Downloads/megaboilerplate-app/node_modules/express/lib/router/route.js:112:3)
at Layer.handle as handle_request
at /Users/jzon/Downloads/megaboilerplate-app/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/Users/jzon/Downloads/megaboilerplate-app/node_modules/express/lib/router/index.js:330:12)
at next (/Users/jzon/Downloads/megaboilerplate-app/node_modules/express/lib/router/index.js:271:10)
at null. (/Users/jzon/Downloads/megaboilerplate-app/server.js:50:9)
at tryCatcher (/Users/jzon/Downloads/megaboilerplate-app/node_modules/bookshelf/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/Users/jzon/Downloads/megaboilerplate-app/node_modules/bookshelf/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/Users/jzon/Downloads/megaboilerplate-app/node_modules/bookshelf/node_modules/bluebird/js/main/promise.js:581:18)
at Async._drainQueue (/Users/jzon/Downloads/megaboilerplate-app/node_modules/bookshelf/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/Users/jzon/Downloads/megaboilerplate-app/node_modules/bookshelf/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues as _onImmediate
at processImmediate as _immediateCallback

from megaboilerplate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.