I have been vomiting every night for two weeks the inside of my eyes are yellow?

Scleral icterus. Persistent vomitting and yellowing of your eyes---quite concerning. The high/rising billirubin level resulting from your liver/gallbladder disease which warrant a work-up/consultation with your doc. Commonsense should dictate at this point--persistent vommitting over 2 wks is not normal. Please consult your doc asap. Best of luck to you.
Possible liver ill. If your eyes are yellow this may mean jaundice. This comes from a diseased liver - you may have hepatitis or some other liver disease. See your internist or GI specialist as soon as possible to have this treated.