They are different data. There might be linear dependency in one group but not another. Do all variables have SDs>0 within each group?
You syntax constraints seem consistent with the fixed-factor identification method, which you can trigger automatically with the argument
std.lv=TRUE. Regardless, the default is to fix latent intercepts to zero, so you don't need
AlcMark_Global + AlcAtt_Global ~ 0*1 # more correct than simply ~0
You have many exogenous predictors, whose means and (co)variances can simply be taken as given to simplify estimation (lavaan's default is fixed.x=TRUE, meaning exogenous-variable parameters are assumed fixed to their sample statistics rather than estimated); that is, remove all those intercepts (and the one covariance you specified: Q4_X_Rv ~~ Q5_ZRc_Int) from your syntax.
I'm not sure why you estimate these 2 covariances:
AlcMark_Global ~~ Q34
AlcAtt_Global ~~ Q28
If they are to be used as auxiliary variables, then the semTools::auxiliary() function can automate the saturated-correlates approach. If you want to know how those variables correlate with the latent factors, then you could treat them as single-indicator constructs:
FQ34 =~ Q34
FQ28 =~ Q28
sem() will automatically fix their residual variances to 0, so all their variance is represented at the latent level. Furthermore, their factors can be standardized (free the single-indicator loadings) so the covariances with other factors (also automatically estimated) will be correlations. Most importantly, treating them as single-indicator constructs will mean they are endogenous, so you can still treat the other exogenous variables as fixed to simplify estimation (and hopefully avoid your error message). To use the FIML approach with exogenous covariates, also set
missing = "fiml.x"
Terrence D. Jorgensen
Assistant Professor, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam