Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag-data.json file not created #919

Open
leaf-hero opened this issue May 16, 2024 · 0 comments
Open

tag-data.json file not created #919

leaf-hero opened this issue May 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@leaf-hero
Copy link

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):

  • OS: ubuntu 24.04
  • Node version 22.1.0
  • Npm version 10.7.0

Browser Info (if display / formatting issue):

  • Device Desktop
  • Browser chrome
@leaf-hero leaf-hero added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant