Closed
Description
Description
When I deploy my website to Vercel using the new 'Link' component from @chakra-ui/nextjs, the build fails and I receive an error.
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/vercel/path0/node_modules/next/link' imported from /vercel/path0/node_modules/@chakra-ui/next-js/dist/chunk-LYWO3SBR.mjs
- Did you mean to import next/link.js?
- Is it supposed to be pulling link.js? For some reason it is failing to find it and pull it.
Was able to test and manually change the path to 'next/link.js', along with the 'next/navigation' import to 'navigation.js', but then I received this error: "Server Error TypeError: createCache is not a function"
Link to Reproduction
Steps to reproduce
No response
Chakra UI Version
2.5.1
Browser
Chrome
Operating System
- macOS
- Windows
- Linux
Additional Information
No response