Open schorges opened 4 years ago
same thing for me
I have the same issue when using BlazorMedia
in Blazor WebAssembly v3.2.0 Preview 4. Seems like it was caused by the tsconfig.json included in the nuget package.
I resolved my issue by excluding the contentFiles
from nuget by adding this to BlazorMedia
package reference in my .csproj file.
<PackageReference Include="BlazorMedia" Version="0.2.333.326">
<ExcludeAssets>contentFiles</ExcludeAssets>
</PackageReference>
And then I added BlazorMedia.js
reference in my index.html
file.
<script src="_content/BlazorMedia/BlazorMedia.js"></script>
Then everything works fine! Hope it helps.
Hi guys, sorry I need to update the readme
Thank you @AbeBaehaki
I did the same in blazor server
But I'm getting the error you can see on the screen after my camera gets connected I constantly get that "server connection error" on the page but I still can see my camera working Anyway I wanna get rid of that error
@Mercurial any idea on that one?
Here's a repro repo: https://github.com/BadgerTheAdger/temp-repro-repo
fail on build blazor app :
Severity Code Description Project File Line Suppression State Error TS18003 Build: No entries were found in the configuration file "C: /Users/Administrator/.nuget/packages/blazormedia/0.2.333.326/contentFiles/any/netstandard2.0/tsconfig.json". The include paths were "[" * / "]", the exclude paths were "[]". Mobile H: \ Programming \ Mobile \ Mobile \ tsc 1
please help me