okTurtles / okTurtles/chel

`chel serve`: lots of read permission requests for node modules

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

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
Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.