The correct answer is: D. No error
The sentence "The Sharmas are living in this colony for the last eight years" is grammatically correct. The verb "are living" is in the present continuous tense, which is used to describe actions that are happening at the present time or that have been happening for a period of time and are still happening. The prepositional phrase "for the last eight years" indicates that the Sharmas have been living in the colony for a period of eight years.
The other options are incorrect because they contain grammatical errors. Option A, "The Sharmas," is missing a verb. Option B, "are living in this colony," is missing a subject. Option C, "for the last eight years," is a prepositional phrase that is not grammatically correct in this context.