Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET /tracklogs/ v dev env spadne s TypeError: Cannot create property 'headers' on boolean 'true' #6

Open
petervojtek opened this issue Aug 21, 2017 · 3 comments
Labels

Comments

@petervojtek
Copy link
Member

[2017-08-21T14:22:19.107Z] ERROR: koa/17861 on Peters-MacBook-Pro.local: --> GET /tracklogs/7HGVqa7Zy8TTJ4qURJIGEV 500 0ms (req_id=2ce1bc9e-7965-45d1-983f-1333b1e92ebf, duration=0, req.remoteAddress=::1, req.remotePort=63951)
GET /tracklogs/7HGVqa7Zy8TTJ4qURJIGEV HTTP/1.1
host: localhost:3000
connection: keep-alive
origin: http://local.freemap.sk:8080
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
accept: /
referer: http://local.freemap.sk:8080/?map=13/48.17181/17.09979&layers=K&track-uid=7HGVqa7Zy8TTJ4qURJIGEV
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.8
--
HTTP/1.1 500 Internal Server Error
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain; charset=utf-8
Content-Length: 21
Date: Mon, 21 Aug 2017 14:22:19 GMT
Connection: keep-alive
--
TypeError: Cannot create property 'headers' on boolean 'true'
at next.catch.err (/Users/peter/repos/freemap-v3-nodejs-backend/node_modules/kcors/index.js:91:21)
at

@zdila
Copy link
Member

zdila commented Aug 21, 2017

Ja to nejako neviem zreprodukovat. Skus premazat node_modules a ked nepomoze tak debugovat app/routers/tracklogs/getTracklogHandler.js.

@petervojtek
Copy link
Member Author

bug je pritomny aj po zmazani a znovu nainstalovani node_modules

@zdila
Copy link
Member

zdila commented Aug 24, 2017

tak skus debugovat (VSCode ma debugovanie built-in)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants