Forum How do I...?

require is not defined "

azi
hi,
I've installed prince and pdf file works with command-line, but since i did npm install prince in my console i get this message "require is not defined". Do you have any idea why ? thanks
mikeday
What exactly are you running that gives you this message?