microsoft / microsoft/vscode-cdp-proxy
Module load error in 0.2.1
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15
- Forks
- 5
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 3
Description
Unfortunately the change to close #6 introduced a new error when requiring the module.
https://npm.runkit.com/vscode-cdp-proxy
var vscodeCdpProxy = require("vscode-cdp-proxy")
Will now fail with:
Error: Cannot find module './cdp'
Require stack:
- /app/available_modules/1634688999000/vscode-cdp-proxy/dist/index.js
- /app/index.js
index.js (https://unpkg.com/browse/vscode-cdp-proxy@0.2.1/dist/index.js) now contains
__exportStar(require("./cdp"), exports);
but we only have cdp.d.ts type definitions.
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 require("vscode-cdp-proxy") failure described in the issue and inspect dist/index.js alongside the cdp.d.ts file. Trace why index.js exports ./cdp when only type definitions are present; done means requiring version 0.2.1 no longer reports that missing module.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100