I am trying to solve a RBC model with endogenous labor supply, however I get the error message “Impossible to find the steady state. Either the model doesn’t have a steady
state, there are an infinity of steady states, or the guess values are too far
from the solution.” Meaning all my steady states are not computed and I get the further error that my steady state contains NaN or Inf.

Your computation kss=((beta*uss*alpha)/(1-beta*(2-delta)))^(1/(1-alpha));
must be incorrect, because it returns a complex number. Did you have a look at