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.
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:
Delete tag-data.json file in App directory.
yarn in cmd to install package
yarn dev
See error
Expected behavior
A clear and concise description of what you expected to happen.
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. (Usenode --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:
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):