I get an error when I run vti.
Error: Cannot find module 'vscode-css-languageservice/lib/umd/data/browsers'
reproduction repository: https://github.com/odan-sandbox/vti-error-reproduction
try this fix https://github.com/vuejs/vetur/pull/1730
try this fix #1730
Tried this fix, but it isn't working for me. I get almost the same error Error: Cannot find module 'vscode-css-languageservice/lib/umd/data/webCustomData'
Thanks!
I checked a version of vscode-css-languageservice. As a result of the version is 4.1.0.
$ yarn why vscode-css-languageservice
=> Found "[email protected]"
info Reasons this module exists
- "vti#vue-language-server" depends on it
- Hoisted from "vti#vue-language-server#vscode-css-languageservice"
When I fixed to 4.0.2 a version of vscode-css-languageservice, vti command was succeeded.
https://github.com/odan-sandbox/vti-error-reproduction/pull/1/files
I'm having this issue too.
When is the next release planned to include this fix?
@weilbith I'm no longer having this issue myself so I believe it's been fixed.
Hmm I still have. So could only solve it by manually downgrading the vscode... dependency locally.
The linked fix was merged to master in march, while the latest npm release was 4 months ago.
Most helpful comment
try this fix https://github.com/vuejs/vetur/pull/1730