Error: Cannot find module 'chokidar'
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- emacs, node.js, typescript
- 領域
- devtools
調査の方向性
まず .m ファイルを読み込んで Emacs で失敗を再現し、次に生成された /usr/local/apps/matlabls/out/index.js と、chokidar 参照周辺のモジュール解決を調べます。matlab-ls が MODULE_NOT_FOUND エラーなしで起動し、言語サーバーが実行を継続すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
From matlab-ls::stderr in emacs
node:internal/modules/cjs/loader:1451
throw err;
^
Error: Cannot find module 'chokidar'
Require stack:
- /usr/local/apps/matlabls/out/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1448:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
at Module._load (node:internal/modules/cjs/loader🔢25)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
at Module.require (node:internal/modules/cjs/loader:1548:12)
at require (node:internal/modules/helpers:152:16)
at Object.chokidar (/usr/local/apps/matlabls/out/index.js:65415:18)
at webpack_require (/usr/local/apps/matlabls/out/index.js:70880:42) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/apps/matlabls/out/index.js' ]
}
Node.js v24.13.1
Process matlab-ls stderr finished
To Reproduce
Steps to reproduce the behavior:
load a .m file
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Useful Information
- MATLAB Version: R2025B
- OS Version: Ubuntu 24.04.4 LTS
- Language Server Client: emacs
- Client Version: 30.2
Additional context
Add any other context about the problem here.
- 主要言語
- TypeScript
- スター
- 125
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mathworks/MATLAB-language-server のほかの issue
-
documentation enhancement
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
mathworks/MATLAB-language-server#27 · コメント 10 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
mathworks/MATLAB-language-server#82 · リアクション 1 件 ·
-
Add progress handler オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
mathworks/MATLAB-language-server#81 · コメント 4 件 ·
-
`--matlabLaunchCommandArgs` does not accept value starting with "-" (Not enough arguments following) オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
mathworks/MATLAB-language-server#78 · コメント 8 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
mathworks/MATLAB-language-server#76 · コメント 5 件 ·
mathworks/MATLAB-language-server の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
copse-dev/agent-pane#2953 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·