I have been able to run my file in the terminal. When I run my file in vim editor using:
:! node %
I get the following error message:
Cannot find module.
It seems vim does not know how to locate the file on my system. What commands should I be using to run the file? Thanks!