Updating the Node.js version to a newer release and reinstalling the project resolved the issue successfully.