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:1234: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.
Describe the bug
From matlab-ls::stderr in emacs
node:internal/modules/cjs/loader:1451
throw err;
^
Error: Cannot find module 'chokidar'
Require stack:
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:1234: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
Additional context
Add any other context about the problem here.