I ran into this issue this morning as well. After reviewing the nuget package, I noticed it had a dependency for Microsoft.AspNetCore.Components.Web (>= 9.0.4) which was not installed. Installing that package addressed the issue for me.