18
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

...Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?と出た時の対処法

Posted at

はじめに

あまり日本語の記事があまり出てこなかったのですが、しばらく検索してみるとtsのissueを発見しました!!!

どうやって解決したのか?

tsconfig.jsonのcompilerOptionsに下記の設定を追加したらエラー解決しました。

"moduleResolution": "node"

エラーコードをDeeplで翻訳してみると...

「moduleResolution」オプションを「node」に設定したのか、「paths」オプションにエイリアスを追加したのか

とでました!普通に検索するまでもないエラーでしたね、、、

18
4
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
18
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?