coryhouse / coryhouse/ps-react

Hidden and non-JS files in /src/components or /src/docs/examples cause "Cannot read property length of undefined" error

Open
#13 8 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
138
Forks
74
PR merge metrics
No merged PRs in 30d

Description

When I create a new component directory (with or without the accompanying docs directory), I generate an error after restarting the server.
I expect that after restarting the server, to see the new component listed in the docs page.
Instead I receive the following error.
![screen shot 2017-08-17 at 4 21 06 pm](https://user-images.githubusercontent.com/11245417/29432069-27c6be4c-8368-11e7-9c0d-b967832e5cf9.png)

I can restore the page by removing the new directory and restarting the server. I'm using the configuration files "as is" from this repo.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.