Installing ionic Errors

  I am having trouble installing all required items on my mac. I 

have searched through all the forums and blogs and even watched a few
different video instructions. I have successfully installed node, and
cordova. When I try to install ionic I am now getting the error below.

Cannot find module ’./lib/cookies’

Any help would be greatly appreciated.