edited package.json and added debugging logs