-
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
Description
I follow the installation, https://boilerplates.js.org/docs/nuxt-installation
npm run devbut, I got
× Client
Compiled with some errors in 34.46s
× Server
Compiled with some errors in 32.42s
ERROR Failed to compile with 18 errors friendly-errors 10:15:58
ERROR in C:\demos\Frontend-Boilerplates-nuxt\client\middleware\config.ts
[tsl] ERROR in C:\demos\Frontend-Boilerplates-nuxt\client\middleware\config.ts(24,111)
TS2322: Type '0' is not assignable to type '{ label: number; sent: () => any; trys: any[]; ops: any[]; }'.
friendly-errors 10:15:58
ERROR in C:\demos\Frontend-Boilerplates-nuxt\client\middleware\interceptors.ts
[tsl] ERROR in C:\demos\Frontend-Boilerplates-nuxt\client\middleware\interceptors.ts(24,111)
TS2322: Type '0' is not assignable to type '{ label: number; sent: () => any; trys: any[]; ops: any[]; }'.
friendly-errors 10:15:58
ERROR in C:\demos\Frontend-Boilerplates-nuxt\client\services\container.builder.ts
[tsl] ERROR in C:\demos\Frontend-Boilerplates-nuxt\client\services\container.builder.ts(8,51)
TS2345: Argument of type '() => void' is not assignable to parameter of type 'new (...args: any[]) => {}'.
Type '() => void' provides no match for the signature 'new (...args: any[]): {}'.
environment:[email protected],[email protected],win10_x64
How to resolve.