docusaurus-init fails in Hack/PHP projects: Error: ENOTDIR: not a directory, scandir '.../vendor/bin/hh-autoload'
#790
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
Is this a bug report?
(write your answer here)
Yes
Have you read the [Contributing Guidelines on issues]
Yes
Environment
Docusaurus was just installed via
yarn global add docusaurus
. Yarn outdated command fails:Probably because this isn't a JS project.
Steps to Reproduce
Expected Behavior
Creation of a docusaurus skeleton
Actual Behavior
Errors out. Ends with:
yarn-error.log and full terminal log: https://gist.github.com/fredemmott/3755bca61cddc6718afc16ae83979f2f
Reproducible Demo
Covered above. No
siteConfig.js
as this is a bug in docusuarus-init - it doesn't exist yet.Reproduces with other hack projects, eg hhvm/hsl. Does not reproduce with
mkdir foo; cd foo; mkdir -p vendor/bin; touch vendor/bin/helloworld
The text was updated successfully, but these errors were encountered: