Open ChicagoDave opened 7 years ago
Yes, me too Express version : 4.15.4
same in "express": "^4.14.0"
Cannot read property 'stack' of undefined
make sure dock.generate is called after app.use(middleware);
setTimeout(async()=>{
dock = await new Docs(app);
await dock.generate({
path: './public/template.html',
examples: './public/examples.txt',
});
},20000)
Or you can use async-await so that your code executes in order
When I run doc.js, I get cannot read property 'stack' of undefined related to application insights.
.\node_modules\winston-azure-application-insights\node_modules\applicationinsights\AutoCollection\Exceptions.js:27