Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.

Build Errors #178

Open
mberneis opened this issue Mar 11, 2020 · 1 comment
Open

Build Errors #178

mberneis opened this issue Mar 11, 2020 · 1 comment

Comments

@mberneis
Copy link

I just installed gitdocs, did a npm -g upgrade to make sure all dependencies are up-to-date and when running a gitdocs build I am getting the following build errors:

 Warning: Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.

Please update the following components: %s%s
❯ Warning: Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

... (many more)

Any idea what can cause this? - I am also surprised about the %s%s in the error message - seems like the template did not get any parameters

@bauhouse
Copy link

I can confirm this behaviour. I discovered that similar warnings are noted here.

You're getting this warning because componentWillMount is deprecated in newer React versions. If you're not using componentWillMount anywhere then one of your libraries is and it needs to be updated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants