Nuxt3でnpx nuxi typecheckを実行したところ、以下のエラーがでました。
nuxt.config.ts:16:3 - error TS2345: Argument of type '{ app: { baseURL: string; }; runtimeConfig: { public: { token: string; }; }; typescript: { strict: boolean; }; }' is not assignable to parameter of type 'InputConfig<NuxtConfig, ConfigLayerMeta>'.
Object literal may only specify known properties, and '"app"' does not exist in type 'InputConfig<NuxtConfig, ConfigLayerMeta>'.
この解決策として、以下に記載がある通り、2つもライブラリをインストールする必要がありました。

nuxt typecheck · Nuxt Commands v4
The typecheck command runs vue-tsc to check types throughout your app.
npm i -D typescript
npm i -D vue-tsc
以下が関連するissueかもしれません。
after update 3.3.2 to 3.5.0 run dev Named export 'stringify' not found at ModuleJob._instantiate · Issue #20906 · nuxt/nuxt
Environment Nuxi 3.5.0 15:06:23 15:06:24 RootDir: E:/workspace/GuYi_production/display-shop-new-version 15:06:24 Nuxt project info: 15:06:24 Operating System: Windows_NT Node Version: v18.14.2 Nuxt...
同様のことでお困りの方の参考になりましたら幸いです。
動画版(生成AIによる自動生成): この記事の内容をずんだもん×四国めたんの掛け合いで解説しています。自動生成のため、内容に誤りがある可能性があります。正確な情報は記事本文をご参照ください。




コメント
…