nextjs
Every fix recorded for this tool, newest first.
- .next/dev/types/validator.ts(<line>,<col>): error TS2307: Cannot find module '../../../app/<route>/route.js' or its corresponding type declarations.
- Error: Route "<route>": Unexpected cache miss
- TypeError: Error
- Invalid project directory provided, no such directory: <path>/lint
- ERROR: This build is using Turbopack, with a
webpackconfig and noturbopackconfig. - The "middleware" file convention is deprecated. Please use "proxy" instead.
useSearchParams()should be wrapped in a suspense boundary at page "<route>".- You're importing a module that depends on
useStateinto a React Server Component module. This API is only available in Client Components. To fix, mark the file (or its parent) with the"use client"directive. - Module not found: Can't resolve 'fs'
- Error: Invalid src prop (https://<host>/<path>) on
next/image, hostname "<host>" is not configured under images in yournext.config.js - Error: Route "<route>" used
params.<name>.paramsshould be awaited before using its properties. - Type error: Type '{ params: { <param>: string
- Error: Route "<route>" used
cookies().get('<name>').cookies()should be awaited before using its value.