1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[Nuxt3] Cannot find module '@volar/typescript/lib/node/proxyCreateProgram' の解決方法

Posted at

Nuxt3に以下の公式サイトを参考に、typescriptを導入しました。

npm install --save-dev vue-tsc@^1 typescript

しかし、npm run dev 実行時に、以下エラーが発生しました。

Cannot start nuxt:  Cannot find module '@volar/typescript/lib/node/proxyCreateProgram' 
Require stack:
- C:\dev\myproject\node_modules\vite-plugin-checker\dist\esm\checkers\vueTsc\prepareVueTsc.js

解決方法

npm install --save-dev vue-tsc@^1ではなく、
npm install --save-dev vue-tsc@^2で解決しました。

npm install --save-dev vue-tsc@^2
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?