ElectronJS will not execute. No Error Messages

I am having some issues with executing an Electron application.

I had a working version last night that started without issue but this morning the Electron application that was previously working failed to execute. Upon failure I also received no error messages in the console.

To see if there was something messed up with that specific project I decided to follow the tutorial for Electron quickstart at the following link : https://www.electronjs.org/docs/latest/tutorial/tutorial-first-app

Following this tutorial through where we are asked to put a console.log(‘Hello from Electron’) into the main.js file and performing npm run start the newly created project also fails. I receive the following output in the VS Code terminal. It should also be noted that upon running the npm run electron command ( I have mapped this script to ‘electron .’ ), VSCode decides to open main.js and place the cursor at the end of the file regardless of the file contents.

I have tried reinstalling Node.js, reinstalling NPM, deleting the Electron folder in %appdata%, deleting node_modules folder. Not sure what to do or even how to approach this problem.

I have the following environment : Windows 11 | [email protected] | [email protected]

enter image description here