Closed bishtawi closed 8 years ago
Ok, I started stripping out third party libs, middleware and large pieces of the app to see when the error would go away. I narrowed it down to koa-generic-session or koa-convert. Its most likely not a co issue.
We can probably close this issue.
@bishtawi It's still worrying that something broke between Node.js v6.4 and v6.5. Can you please mention me if you find where the issue is ?
I got the same issue, at last, I found that it is the '--harmony' args cause the 'Cannot read property 'done' of undefined'
From old time, my deploy script was try to start the nodejs application with 'node --harmony path/to/app.js'
Now I remove the 'harmony' args, issue solved.
Yup, I eventually narrowed it down to the harmony flag as well.
I am facing same issue with node v6.9. please share if anyone knows solution.
@kothari775 Run node without the --harmony
flag. You shouldnt be using it anymore.
@bishtawi Thanks a lot.
Recently updated node to the latest v6.5 and my webapp fails with this stack trace:
I am not sure if the source of the issue is really co or some other library as the stack trace does not extend past co. I am using the koa framework, if that matters. Code worked fine with node v6.4.