lorenseanstewart / nextjs-mdx-blog-kit

Starter code for creating a static blog system using Next.js and MDX. A service worker for offline reading is set up, and the blog has Perfect Lighthouse scores.

Home Page:https://nextjs-mdx-blog-kit.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warnings on installation? Try adding @babel/runtime-corejs2 as a devDependency

cweekly opened this issue · comments

Thanks for sharing this cool kit, Loren!

FYI, I ran into multiple warnings on installation, which I resolved by adding @babel/runtime-corejs2 as a devDep. Sorry I don't have time to contribute a PR, but it's a simple fix. Posting here in case it's helpful to you or to anyone using it.

Hi @cweekly thanks for posting this. Yeah i ran into the same error after adding a new blog post page (doesn't show up) after running npm run clean still getting the same error.

Module build failed (from ./node_modules/next/dist/build/webpack/loaders/next-babel-loader.js):
TypeError: Cannot read property 'length' of null

Any workaround this?

Thanks