Custom node require failure

Are the required modules installed?

If you are able to step debug (e.g. in VScode) the put the keyword debugger before the require.

This might help...