@Keet Sugathadasa's answer is what helped me too!
The error output for me pointed to my root directory (3 folders up in the ../../../ hierarchy). So I removed the package.json that was there and the "warning" was resolved.
´warning ../../../package.json: No license field´
This also resolved another error. Previously, in another project, I ignored this warning, and then I had a bigger problem, Typescript was not compiling the code to JavaScript, probably because it was reading the wrong package.json file.
When I removed this "warning" the project worked.