My issue was that the Working directory inside the Run/Debug Configurations was not set to the folder where I have package.json.