gitdocs
gitdocs copied to clipboard
Build Errors
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
I can confirm this behaviour. I discovered that similar warnings are noted here.
You're getting this warning because
componentWillMountis deprecated in newer React versions. If you're not usingcomponentWillMountanywhere then one of your libraries is and it needs to be updated.