Package path ./server.js is not exported from package
Nasim-Alizai opened this issue · comments
Description
I have add this package (next-intl) and do all of recipt but i got error when i add
const messages = await getMessages();
this at root layout
it just shows error of export
Package path ./server.js is not exported from package
Verifications
- I've verified that the problem I'm experiencing isn't covered in the docs.
- I've searched for similar, existing issues on GitHub and Stack Overflow.
- I've compared my app to a working example to look for differences.
Mandatory reproduction URL
https://github.com/amannn/next-intl-bug-repro-app-router
Reproduction description
Steps to reproduce:
- Open reproduction
- Click on …
- See error: …
Expected behaviour
can this have any bugs?
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.:
- Open reproduction
- Click on …
- See error: …
Thank you for your understanding!
FAQ
"I've included a reproduction, what is missing?"
This comment might have been added because your reproduction doesn't point to a destination where the issue can be reproduced. Please make sure that the latest changes were saved in the reproduction and that the link is correct.
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.