timlrx / tailwind-nextjs-starter-blog

This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
https://tailwind-nextjs-starter-blog.vercel.app/
MIT License
7.36k stars 1.84k forks source link

tag-data.json file not created #919

Open leaf-hero opened 1 month ago

leaf-hero commented 1 month ago

Describe the bug I deleted tag-data.json file. And when I install the package by yarn, and yarn dev, got following error in terminal and the tag-data.json file is not created ✓ Starting... (node:14862) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) ✓ Ready in 2.8s Contentlayer config change detected. Updating type definitions and data... successCallback /home/ubuntu/@Projects/one/tailwind-nextjs-starter-blog/.contentlayer SuccessCallbackError: SyntaxError: Unexpected identifier 'assert'

To Reproduce Steps to reproduce the behavior:

  1. Delete tag-data.json file in App directory.
  2. yarn in cmd to install package
  3. yarn dev
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

System Info (if dev / build issue):

Browser Info (if display / formatting issue):

timlrx commented 1 month ago

Seems related to #930