Problem with "require" in custom module

Still no expert on custom modules but trying my hardest!!

Decided to take a quick look at an Paypal IPN solution for Node after noticing an npm “paypal-ipn”

So i installed with

npm install paypal-ipn

I can see it installed:

image
typing into terminal

npm ls

shows it installed:

image

and checking package-lock.json correctly shows its presence and version

image

however when i try to use it

image

I get a not found error

Anyone any ideas where things are going wrong?

Community Page
Last updated: