YOU SAID:
I can't sleep with the lights on.
INTO JAPANESE
私は上のライトで眠ることができません。
BACK INTO ENGLISH
I can not sleep in the above light.
INTO JAPANESE
私は上記の光の中で眠ることができません。
BACK INTO ENGLISH
I can not sleep in the above light.
That didn't even make that much sense in English.