fumadocs-ui package giving MODULE_NOT_FOUND_ERROR #738
Unanswered
SamikshaGarg36
asked this question in
Q&A
Replies: 1 comment 1 reply
-
could you provide more information? Like a minimal reproducible repo and test if it works on older versions like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
This is one of the error message I am receiving:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/samikshagarg/InternshipRepo/Luminum/bot-fe/node_modules/next/dynamic' imported from /Users/samikshagarg/InternshipRepo/Luminum/bot-fe/node_modules/fumadocs-ui/dist/provider.js Did you mean to import next/dynamic.js? at finalizeResolution (node:internal/modules/esm/resolve:255:11) at moduleResolve (node:internal/modules/esm/resolve:908:10) at defaultResolve (node:internal/modules/esm/resolve:1121:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38) at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39) at link (node:internal/modules/esm/module_job:84:36) { code: 'ERR_MODULE_NOT_FOUND', url: 'file:///Users/samikshagarg/InternshipRepo/Luminum/bot-fe/node_modules/next/dynamic', page: '/docs/test' }
I am using
14.2.6
version of nextjs and latest fumadocs package. This seems to occur not just withnext/dynamic
but most of the imports that don't have.js
or similar extension in place. What am I doing wrong?Beta Was this translation helpful? Give feedback.
All reactions