\(\Leftrightarrow\left(x+2018\right)^{2019}\left(x+2018-1\right)=0\)
\(\Leftrightarrow\left(x+2017\right)\left(x+2018\right)^{2019}=0\)
\(\Leftrightarrow\left[{}\begin{matrix}\left(x+2018\right)^{2019}=0\\x+2017=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=-2018\\x=-2017\end{matrix}\right.\) ( TM )