I know, but if you file your I-485 for family based, your TN wil
because of immigration intent. They know your LG is in the US. There might be some other reason USCIS reject your I-485, find it out.You have to convince USCIS you don't have immigration intent when you apply TN.