Windows Script Host Error: Invalid character – Code:800A03F6 – Source: Microsoft JScript compilation error

Update:

On Windows .js files are associated to Windows Scripting Host by default, so the script will not be run with Node.

Open a file explorer and find a JavaScript file, open the JavaScript file’s properties and then “open with”, select the Node.js program file to open that kind of files.

The error should stop after doing this.

Leave a Comment