JsCommunity / JsCommunity/jsonrpc-websocket-client
TypeError: jsonrpc_websocket_client__WEBPACK_IMPORTED_MODULE_3___default.a is not a constructor
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Uncaught (in promise) TypeError: jsonrpc_websocket_client__WEBPACK_IMPORTED_MODULE_3___default.a is not a constructor
console.log(client.status);
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented new Client("ws://example.org") example and inspect how the JSON-RPC WebSocket client is exported and imported. Done means the example constructs a client without the is not a constructor error and reaches the console.log(client.status) call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100