existsSync in not a function

mofodox commented :

@gpahal This is what I found. What’s your advice on this?