Vscode: error TS2307: Cannot find module 'vscode'

前端 未结 4 1545
深忆病人
深忆病人 2021-02-19 10:57

When compiling VSCode extension then typescript persistently complained

error TS2307: Cannot find module \'vscode\'.

Installation <

4条回答
  •  失恋的感觉
    2021-02-19 11:08

    You can simply install them by yarn install or npm install. If you've faced with "Visual Studio Code is unable to watch for file changes in this large workspace" error in VSCode, follow the instructions in this link.

提交回复
热议问题