When running npx nuxi typecheck in Nuxt3, the following error occurred.
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>'.
As a solution, as described in the following documentation, it was necessary to install two libraries.

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
The following may be a related 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...
I hope this serves as a helpful reference for anyone experiencing the same issue.




Comments
…