bodil / bodil/pylon

TypeError when using native es6 class via npm

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
53
Forks
2
PR merge metrics
No merged PRs in 30d

Description

`TypeError: Class constructor OAuthStrategy cannot be invoked without 'new'`

Seems that pylon doesn't like when classes come from native js/ts libraries.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the TypeError in pylon with the native ES6 OAuthStrategy class mentioned in the report. Trace how pylon invokes classes from JavaScript or TypeScript libraries; done means native ES6 classes can be used without the “cannot be invoked without 'new'” failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.