`chel serve`: lots of read permission requests for node modules
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Problem
When testing chel serve, I'm getting read persmission requests pertaining to the bufferutil and utf-8-validate node modules.
- OS: WSL Ubuntu 22 LTS
Solution
Do your best to describe what the solution should look like.
If possible, update relevant import statements to reference the correct file extension. This would at least reduce the number of requests to just one per module. Leaving the extension out cause the module lookup algo to try .js, .cjs, .mjs etc in turn until a find is found.
Contributor guide
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 chel serve on WSL Ubuntu 22 LTS and trace the read-permission requests involving bufferutil and utf-8-validate. Inspect the relevant import statements and verify that the finished change reduces module lookup attempts as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100