BlazorMedia icon indicating copy to clipboard operation
BlazorMedia copied to clipboard

Fail on Build

Open schorges opened this issue 5 years ago • 6 comments

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

schorges avatar Apr 06 '20 19:04 schorges

same thing for me

drma-tech avatar Apr 19 '20 19:04 drma-tech

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.

AbeBaehaki avatar Apr 20 '20 09:04 AbeBaehaki

Hi guys, sorry I need to update the readme

Mercurial avatar Jun 08 '20 04:06 Mercurial

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

image

borseno avatar Jun 20 '20 15:06 borseno

@Mercurial any idea on that one?

borseno avatar Jun 20 '20 15:06 borseno

Here's a repro repo: https://github.com/BadgerTheAdger/temp-repro-repo

borseno avatar Jun 20 '20 15:06 borseno