QuiiBz / next-international

Type-safe internationalization (i18n) for Next.js
https://next-international.vercel.app
MIT License
1.2k stars 54 forks source link

Can't resolve 'next-international/middleware' #277

Closed Crayon-ShinChan closed 8 months ago

Crayon-ShinChan commented 8 months ago

Describe the bug Clone repo, go to example, next-app, pnpm i, then pnpm dev met Can't resolve 'next-international/middleware'

To Reproduce Steps to reproduce the behavior:

  1. Go toexample/next-app/
  2. pnpm i
  3. pnpm dev
  4. See error

Expected behavior No error

Screenshots CleanShot 2023-11-02 at 16 10 57@2x

About (please complete the following information): main branch on 2023-11-02

QuiiBz commented 8 months ago

You have to build both packages/next-international & packages/international-types first - I'll open another issue to add a proper CONTRIBUTING.md documentation.