koa-passport breaks node-inspector (remove Proxy)
See original GitHub issueThanks for the great module.
Kind of cool that it uses ES6 Proxy, but that’s too early. Right now ES6 Proxy are non-debuggable, see the discussion here https://github.com/node-inspector/node-inspector/issues/413.
Koa-passport is usually quite close to the top of the execution stream. When node-inspector meets proxy, it dies, effectively making all the application code below undebuggable.
(That’s actually a suggestion, I don’t have a stack, but koa-passport is the only module which uses ES6 proxy in the project, and node-inspector dies with that Proxy Illegal access error).
Given that the ES6 Proxy debugging issue is not going to be fixed soon, could you please remove it from the code and replace with something more-or-less stable please?
Issue Analytics
- State:
- Created 9 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Internal error: illegal access (debugging ES6 proxy) · Issue #413
I'm using node-inspector for node 0.11.13 I start node ... koa-passport breaks node-inspector (remove Proxy) rkusa/koa-passport#17.
Read more >node.js - NodeJS request -- how to disable automatic proxy ...
I am using the request npm module for making http requests in my program. The default behavior of request seems to be that...
Read more >koa-passport - npm
Start using koa-passport in your project by running `npm i koa-passport`. There are 207 other projects in the npm registry using koa-passport.
Read more >How to clear https proxy setting of NPM | Edureka Community
By running npm config rm proxy you remove proxy from user configuration. This can be easily verified by running: npm config list.
Read more >How to remove/ reset npm proxy - Super User
It was a connection problem. I remember that I played with proxy configuration by mistake like this : npm config set proxy ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for the information! 👍
I’d really prefer going back to the Proxy implementation. However, I am not entirely sure if it is worth the hazel to go through possibly breaking people’s usage of
koa-passportwith it 🤔@rkusa A new major version with updated
enginesrange would solve that neatly. Node versions < 10 are now out of LTS and support for them can be safely dropped. Most major frameworks and libs are now following LTS.