Skip to content

Thomascogez/docusaurus-bracket-in-path-bug-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

Docusaurus bracket in path bug reproducible example

This is a minimal example of a bug in Docusaurus where a bracket in the path causes the build to fail.

Steps to reproduce

1 - Clone this repo

2 - cd into [bracket] folder

3 - Run yarn install

4 - Run yarn build

5 - Observe the following error:

[ERROR] Error: EISDIR: illegal operation on a directory, open '/Users/user/Documents/projectPath/docusaurus-bracket-in-path-bug-repro/[bracket]/build'
[ERROR] Unable to build website for locale en.
[ERROR] Error: EISDIR: illegal operation on a directory, open '/Users/user/Documents/projectPath/docusaurus-bracket-in-path-bug-repro/[bracket]/build'

Expected behavior

The build should succeed.

Actual behavior

The build fails with the following error:

[ERROR] Error: EISDIR: illegal operation on a directory, open '/Users/user/Documents/projectPath/docusaurus-bracket-in-path-bug-repro/[bracket]/build'
[ERROR] Unable to build website for locale en.
[ERROR] Error: EISDIR: illegal operation on a directory, open '/Users/user/Documents/projectPath/docusaurus-bracket-in-path-bug-repro/[bracket]/build'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published