facebook / docusaurus

Easy to maintain open source documentation websites.
https://docusaurus.io
MIT License
56.9k stars 8.56k forks source link

Example Site in Install Instructions Failing on Windows #2098

Closed brettpalmberg closed 4 years ago

brettpalmberg commented 4 years ago

🐛 Bug Report

Example site fails to compile on Windows

SyntaxError: C:\projects\mysite.docusaurus\registry.js: Octal literal in strict mode (9:103)

Node Version: 12.13.1

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

I followed the installation instructions here: https://v2.docusaurus.io/docs/installation/

  1. npx @docusaurus/init@next init mysite classic
  2. cd mysite
  3. npm start

Expected behavior

Example site compiles and content can be viewed at localhost:3000

Actual Behavior

Example site compiles with errors and site content is not displayed at localhost:3000/ .

SyntaxError: C:\projects\mysite.docusaurus\registry.js: Octal literal in strict mode (9:103)

image

Reproducible Demo

  1. npx @docusaurus/init@next init mysite classic

image

endiliey commented 4 years ago

Thanks for reporting. We'll release a fix soon

brettpalmberg commented 4 years ago

Thank you @endiliey. I am really enjoying Docusaurus2.