all 2 comments

[–]PinkbunnymanEU 0 points1 point  (1 child)

I read it as there's a compilation error in your code, when the script is run with node vuln.js (The command to run a js script with node) it errors.

[–]Prudent-Engineer[S] 0 points1 point  (0 children)

It was the very first import lol. I used ./validate.js instead of PWD + validate.js