2 posts tagged as "exception"

Type argument Microsoft Runtime CompilerServices ConfiguredTaskAwaitable violates the constraint of type parameter TAwaiter

You add a reference to StackExchange.Redis in your .NET 4.0 project and you get the following exception: Method System.Runtime.CompilerServices.AsyncTaskMethodBuilder 1+ConfiguredTaskAwaiter [ StackExchange.Redis.ServerEndPoint ] ’ violates the…

Default value must be string or number error when running npm adduser

Problem: You try to run npm adduser command and get an error message that starts with something like “Default value must be string or number”. Cause: It is attempting to access your default email address which you do not have set. Fix: npm config set…