visual-studio-code - New VSCode extension can't find vscode
问题描述
Why does a new VSCode extension created with yeoman generator immediately not find vscode when starting debug?
Clean install of node, yeoman, and generator "code".
While I can continue to debug with this error, why isn't vscode found? Is it extraneous if debugging actually works?
解决方案
键入 Ctrl+` 以获取控制台,然后npm i
您将收到类似于此的消息
检测到的 VS 代码引擎版本:^1.31.0 找到符合引擎范围的最小版本:1.31.0 从以下位置获取 vscode.d.ts: https ://raw.githubusercontent.com/Microsoft/vscode/7c66f58312b48ed8ca4e387ebd9ffe9605332caa/src/vs/vscode .d.ts vscode.d.ts 安装成功!
在那之后,事情应该是大块头。
推荐阅读
- php - 如何将缓冲的 PHP 输出的第 7 行捕获到变量中?
- javascript - 如何制作回调函数以填充 textinput onChangeText 的 value 属性
- python - Python seaborn 组合图如何像 FacetGrid 一样分开?
- python - 为什么我不能使用'+'在打印函数中添加'int'到'str'?
- scala - 列表模式匹配添加基于案例对象的过滤
- r - 对包含 19 个暗淡 50*50 矩阵的 4 个数组应用 if-else 条件
- java - Kotlin / Java 在 Int 类型的 switch 语句中使用枚举
- javascript - Chrome 扩展中消息传递范围的绑定
- python - 如何在 google colab 中运行下载/克隆的 github 代码?
- java - Spring SchedulingConfigurer 重试限制