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

Failed to compile #3583

Closed
azzyx opened this issue Oct 14, 2020 · 5 comments
Closed

Failed to compile #3583

azzyx opened this issue Oct 14, 2020 · 5 comments
Labels
bug An error in the Docusaurus core causing instability or issues with its execution closed: duplicate This issue or pull request already exists in another issue or pull request

Comments

@azzyx
Copy link

azzyx commented Oct 14, 2020

❓ Questions and Help

Please note that this issue tracker is not a help form and this issue will be closed.

Please contact us instead. We have a few channels:

image

The development environment is windows

@azzyx azzyx added status: needs triage This issue has not been triaged by maintainers closed: question This issue is a user error/misunderstanding. labels Oct 14, 2020
@slorber
Copy link
Collaborator

slorber commented Oct 14, 2020

Hi and thanks, this looks like a. duplicate of #3471 so I'm closing.

Try a folder without Chinese characters as a workaround

@slorber slorber closed this as completed Oct 14, 2020
@azzyx
Copy link
Author

azzyx commented Oct 15, 2020

ok, thanks, instead of the package of @docusaurus/core and @docusaurus/preset-classic version 2.0.0-alpha.65,
i chose the version 2.0.0-alpha.43 , and it worked.

@slorber
Copy link
Collaborator

slorber commented Oct 15, 2020

Hi,

If you are linking to a file in /static folder, this windows/chinese bug is probably related to a newly introduced webpack file-loader system. You should be able to upgrade to more recent versions like alpha 56 or 58 I think.

By using a md link like [link](pathname:///myChineseFileName.pdf) you should also be able to upgrade to alpha 65, as the pathname:// prefix "disable" the webpack file-loader system.

@slorber
Copy link
Collaborator

slorber commented Oct 15, 2020

Interested to know if it works for you if you remove the Chinese chars from the filename

@azzyx
Copy link
Author

azzyx commented Dec 15, 2020

when remove Chinese it worked

@Josh-Cena Josh-Cena added bug An error in the Docusaurus core causing instability or issues with its execution closed: duplicate This issue or pull request already exists in another issue or pull request and removed status: needs triage This issue has not been triaged by maintainers closed: question This issue is a user error/misunderstanding. labels Mar 22, 2022
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 closed: duplicate This issue or pull request already exists in another issue or pull request
Projects
None yet
Development

No branches or pull requests

3 participants