Description
On startup the extension dies with TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined. Luckily just the extension seems to be broken, I can still manually run herb-lint from the CLI.
Seems like it's dying somewhere requiring a file of some kind? So, could totally be some sort of config issue on my part.
- VSCode version: 1.108.1
- Node version: 23.11.0
- OS: M1 Mac w macOS 15.6.1
Full Backtrace
2026-01-15 14:59:08.901 [error] TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined
at createRequire (node:internal/modules/cjs/loader:1919:11)
at Object.<anonymous> (/Users/ethankircher/.vscode/extensions/marcoroth.herb-lsp-0.8.7/dist/extension.js:182:41827)
at Module._compile (node:internal/modules/cjs/loader:1714:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1848:10)
at Module.load (node:internal/modules/cjs/loader:1448:32)
at Module._load (node:internal/modules/cjs/loader:1270:12)
at c._load (node:electron/js2c/node_init:2:17993)
at e._load (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:405:6054)
at t._load (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:223:22716)
at r._load (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:215:24094)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
at Module.require (node:internal/modules/cjs/loader:1470:12)
at require (node:internal/modules/helpers:147:16)
at kK.Cb (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:254:1253)
Thanks a ton, herb has been a game changer. Keep up the wonderful work. Let me know if any more info is needed!
Description
On startup the extension dies with
TypeError: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received undefined. Luckily just the extension seems to be broken, I can still manually runherb-lintfrom the CLI.Seems like it's dying somewhere requiring a file of some kind? So, could totally be some sort of config issue on my part.
Full Backtrace
Thanks a ton, herb has been a game changer. Keep up the wonderful work. Let me know if any more info is needed!