Closed SayeedMahdi closed 1 month ago
Thank you for your report!
Unfortunately, the reproduction is missing or incomplete, and as such we cannot investigate this issue. Please add a reproduction to the issue, otherwise it will be closed automatically.
Templates:
Creating a good bug report takes time.
To help us resolve the issue quickly, please simplify the reproduction as much as possible by removing any unnecessary code, files, and dependencies that are not directly related to the problem. The easier it is for us to see the issue, the faster we can help you.
Apart from the reproduction, make sure to include the precise steps on how to reproduce the issue, e.g.:
Thank you for your understanding!
This error is because of Ts version if you want to use next-intl with next 14 or higher your ts should be higher than 5, it will fix that.
This issue has been automatically closed because it is currently not actionable and has become stale. If the problem persists, please create a new issue.
Description
when I run build command for this error comes. I have searched but nothing found to solve. $ pnpm run build
▲ Next.js 14.2.5
Environments: .env
Creating an optimized production build ... ✓ Compiled successfully Linting and checking validity of types ...Failed to compile.
./node_modules/.pnpm/next-intl@3.17.2next@14.2.5@babel+core@7.24.9_react-dom@18.3.1_react@18.3.1react@18.3.1react@18.3.1/node_modules/next-intl/dist/types/src/navigation/react-client/createSharedPathnamesNavigation.d.ts:4:57 Type error: Type parameter declaration expected.
2 | import { Locales } from '../../routing/types'; 3 | import { SharedNavigationRoutingConfigInput } from '../shared/config';
Verifications
Mandatory reproduction URL
App Router
Reproduction description
Steps to reproduce:
Expected behaviour
I have checked all the ts ignores file and eslint but non of them worked for me.