Angular latest webSDK does not really help here, can you give us the exact version number you are using?
The issue is probably resolved as soon as you deploy your application to the tenant.
I presume you are running the app locally to get the first error message. You can eliminate it by adding a dummy application of the same name to the tenant or deploying the app itself to the tenant and using it there rather than locally.
Not sure if the second error message is connected to this though.