Issue with npm run build and mdx
Answered
Banana posted this in #help-forum
BananaOP
My code - https://github.com/dreadfulstep/serverlist/tree/master/frontend
Im able to run in dev, unable to build however due to an mdx issue which i have no idea why, im not too familiar with mdx:
Error: https://sourceb.in/di0hH20umC
Im able to run in dev, unable to build however due to an mdx issue which i have no idea why, im not too familiar with mdx:
Error: https://sourceb.in/di0hH20umC
2 Replies
BananaOP
Nvm, i gave up and seperated it into its own project
Answer
Asiatic Lion
omg I'm having some markdown issue as well. I followed the dynamic imports guide and it works on dev but I'm getting the 404 on build
https://nextjs.org/docs/app/building-your-application/configuring/mdx#using-dynamic-imports
https://nextjs.org/docs/app/building-your-application/configuring/mdx#using-dynamic-imports