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

Syntax template - Unable to build #1646

Open
Fyroeo opened this issue Nov 16, 2024 · 0 comments
Open

Syntax template - Unable to build #1646

Fyroeo opened this issue Nov 16, 2024 · 0 comments

Comments

@Fyroeo
Copy link

Fyroeo commented Nov 16, 2024

What component (if applicable)

Describe the bug
It is currently impossible to build the Syntax template using the downloaded sources. The build fails with the following error :

Failed to compile.

./src/components/Layout.tsx + 10 modules
Unexpected end of JSON input

./node_modules/@headlessui/react/dist/components/listbox/listbox.js + 34 modules
Unexpected end of JSON input

./src/markdoc/search.mjs + 1 modules
Unexpected end of JSON input


> Build failed because of webpack errors

But, the project works in the dev environment (npm run dev/yarn dev)

To Reproduce
Steps to reproduce the behavior:

  1. Download the template
  2. Install the dependencies (npm install / yarn install)
  3. Try to make a build (npm run build / yarn build)

The build will fail.

Expected behavior
The project should be built.

Screenshots

Browser/Device (if applicable)

  • OS: macOS Sequoia 15.1
  • Browser: Safari
  • Version: 18.1

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant