markdoc: Unable to add custom tags in Next.js app on Windows

What happened?

When running a new NextJS app on a Windows machine running Node v14.19.3 using the markdoc example, the app fails to load, throwing a failed to compile error:

image

After some tinkering - I found that by removing the tags, the app / page would finally render.

To reproduce

  • run npx create-next-app --example https://github.com/markdoc/markdoc-starter
  • run npm run dev
  • App will fail to load and show the error above.

Version

0.1.2

Additional context

I tried setting up the project on a M1 Mac running node v16.13.0 and the app was able to compile and render. So I’m wondering if this is related to the OS or possibly the node version.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 24 (12 by maintainers)

Most upvoted comments

@mfix-stripe Can we rename this issue to something that identifies this is Windows?