Next.js Discord

Discord Forum

Issue with npm run build and mdx

Answered
Banana posted this in #help-forum
Open in Discord
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
Answered by Banana
Nvm, i gave up and seperated it into its own project
View full answer

2 Replies

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