a bit late but maybe someone will need it one day, i found it on reddit
"I believe you have to open the package.json file with a text program like notepad++. Next, make sure the first line looks like this:
"name": "{}",
You can put whatever name you want between the brackets. Save, exit and try to run the game again. Hope it helps."
i just put the word game in between the brackets
(its worth noting that the fix did not help me personally so im not 100% sure if doing that helps i just know it makes the error not appear)