javascript-tutorial / javascript-tutorial/ko.javascript.info

[Bug report] LRUCache 미설치 에러

Open Beginner friendly
#1,746 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
2k
Forks
852
PR merge metrics
No merged PRs in 30d

Description

🐛 Bug report

로컬 서버 세팅하기 문서에 따라 세팅하던 중,
서버 저장소와 한국어 저장소 클론, 모듈 설치까지 완료한 후

./edit ko
명령어를 실행할 때 아래 에러가 발생합니다.
image

확인해보니 server 폴더의 package.json에 lru-cache가 포함돼있지 않았습니다.
image

npm install lru-cache
해당 명령어로 lru-cache 설치하면 정상 빌드 됩니다.

환경

Window 11 Pro
node v20.9.0

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 with server/package.json and reproduce the failure by following the local setup steps and running ./edit ko under the reported Node.js environment. Done means the dependency is installed from the project configuration and the command completes without the LRUCache error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, developer-experience
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.