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

copy readme script fails if packages folder name is missing #1392

Closed
awentzel opened this Issue Feb 16, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@awentzel
Copy link
Member

awentzel commented Feb 16, 2019

Describe the bug; what happened?
On a clean branch, now with packages ignored in .gitignore if a user executes node build/documentation/copy-package-readme.js it will fail because the packages folder is missing.

What are the steps to reproduce the issue?

  1. Create a new branch tracking master
  2. Execute on your CLI node build/documentation/copy-package-readme.js
  3. See the errors
fs.js:120
    throw err;
    ^

Error: ENOENT: no such file or directory, ...

What behavior did you expect?
If the docs/en/packages folder does not exist it should be created first by the script.

If applicable, provide screenshots:
screen shot 2019-02-16 at 10 24 10 am

In what environment did you see the issue?

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]

Is there any additional context?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.