blog-series-nextjs-nx
blog-series-nextjs-nx copied to clipboard
Problem migrating branch "04-dynamic-markdown-mdx" to the latest Nx/NextJS but hitting some lint errors "
I'm trying to migrate branch "04-dynamic-markdown-mdx" to the latest Nx/NextJS but hitting some lint errors "
nx run site:lint
Linting "site"... Pages directory cannot be found at /mnt/wsl/projects/git/www/blog-series-nextjs-nx/pages or /mnt/wsl/projects/git/www/blog-series-nextjs-nx/src/pages. If using a custom path, please configure with the no-html-link-for-pages rule in your eslint config file Cannot read properties of undefined (reading 'type') Occurred while linting /mnt/wsl/projects/git/www/blog-series-nextjs-nx/apps/site/pages/articles/[slug].tsx:6
any suggestions would be appreciated
Hey, thanks for reaching out.
I’m planning to upgrade the GitHub repo attached to the blog post series this week in prep for the upcoming Egghead course on the topic (launch of that is just a matter of days 😉)
I’ll reach out to you during that upgrade in case I stumble upon the same issues.
Thanks again
On Sun, 5 Dec 2021 at 04:21, Mark Wood-Patrick @.***> wrote:
I'm trying to migrate branch "04-dynamic-markdown-mdx" to the latest Nx/NextJS but hitting some lint errors "
nx run site:lint
Linting "site"... Pages directory cannot be found at /mnt/wsl/projects/git/www/blog-series-nextjs-nx/pages or /mnt/wsl/projects/git/www/blog-series-nextjs-nx/src/pages. If using a custom path, please configure with the no-html-link-for-pages rule in your eslint config file Cannot read properties of undefined (reading 'type') Occurred while linting /mnt/wsl/projects/git/www/blog-series-nextjs-nx/apps/site/pages/articles/[slug].tsx:6
any suggestions would be appreciated
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/juristr/blog-series-nextjs-nx/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEEN6TW6Q2IFQUQ3Z26OQLUPLLFBANCNFSM5JMJEF4Q .
--
👋 Juri JavaScript Architect & Engineering Manager @ nrwl.io • Google Developer Expert in Web Tech • juri.dev • @juristr https://twitter.com/juristr subscribe to my Newsletter http://bit.ly/juri-news