Error running vti diagnostics after updating to VTI 0.1.11 - Issue with versions 0.1.9 onwards #3686
Open
Description
- I have searched through existing issues
- I have read through docs
- I have read FAQ
- I have tried restarting VS Code or running
Vetur: Restart VLS
Info
- Platform: WSL
- VTI version: 0.1.11
- VS Code version: 1.76.2
- TypeScript version: 3.8.3
- Vetur output:
Problem
Until recently, I was using VTI version 0.1.3, but I found the latest version, 0.1.11, and updated to it. However, when I ran vti diagnostics, an error message like the following started to appear:
While versions up to 0.1.8 complete without any issues, I'm having trouble because an error occurs from version 0.1.9 onwards, even though the code hasn't changed.
I would appreciate it if someone who knows about this could let me know what's going on.
TypeError: Cannot read property 'close' of undefined
at /home/kumimaru/XXX/node_modules/vti/dist/cli.js:1:255076
at Object.<anonymous> (/home/kumimaru/XXX/node_modules/vti/dist/cli.js:1:256898)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object.<anonymous> (/home/kumimaru/XXX/node_modules/vti/bin/vti:2:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] lint:vti: `vti diagnostics`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] lint:vti script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/kumimaru/.npm/_logs/2023-04-03T08_40_38_996Z-debug.log
Metadata
Assignees
Labels
No labels