server page showing cannot find ejs module

i have already installed ejs in my mac terminal but when i m running the project the server page showing cannot find ejs module
anyone knows how to resolve it and i have also done reinstalling ejs , restarting the server , checking node module (dont suggest these methods)
pls suggest some