相关疑难解决方法(0)

如何在不破坏构建的情况下将 vscode 扩展的引擎要求从 ^1.6.0 更新为 ^1.8.0?

我尝试通过将package.json engines/vscode设置更改为来更新扩展中的 vscode 要求,现在当我运行时出现以下错误:^1.6.0^1.8.0npm install

node_modules/vscode-languageclient/lib/codeConverter.d.ts(1,23): error TS2497:
Module '"/Users/foo/vscode/clojure-debug/node_modules/vscode/vscode"' 
resolves to a non-module entity and cannot be imported using this construct.
Run Code Online (Sandbox Code Playgroud)

我尝试删除node_modulesout目录,但这没有什么区别。

我是否缺少某些步骤来更新此内容?

visual-studio-code vscode-extensions

8
推荐指数
1
解决办法
3916
查看次数