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

Example Site in Install Instructions Failing on Windows #2098

Closed
brettpalmberg opened this issue Dec 6, 2019 · 2 comments · Fixed by #2099
Closed

Example Site in Install Instructions Failing on Windows #2098

brettpalmberg opened this issue Dec 6, 2019 · 2 comments · Fixed by #2099
Assignees
Labels
bug An error in the Docusaurus core causing instability or issues with its execution

Comments

@brettpalmberg
Copy link

🐛 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

@brettpalmberg brettpalmberg added bug An error in the Docusaurus core causing instability or issues with its execution status: needs triage This issue has not been triaged by maintainers labels Dec 6, 2019
@endiliey endiliey removed the status: needs triage This issue has not been triaged by maintainers label Dec 7, 2019
@endiliey
Copy link
Contributor

endiliey commented Dec 7, 2019

Thanks for reporting. We'll release a fix soon

@brettpalmberg
Copy link
Author

Thank you @endiliey. I am really enjoying Docusaurus2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error in the Docusaurus core causing instability or issues with its execution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants