I have created a package.json file using npm init -y command as described in video post that i pasted the Gitpod link but here test is throwing an error mentioning package.json file should have a valid author key
I looked at the starter project and I think the instructions maybe are a little unclear. They are teaching you how to initialize your node packages with npm init, but you are not being asked to do so - it has already been done for you. All you are asked is to add the author key to package.json.
I can’t see your workspace to suggest how to fix it. I would guess it created a second package.json file that you would need to delete, but I’m not sure. Since you are only on the first step you could just start the project over and just add the author key, without running npm init.