Unable to find package Telerik.UI.for.Blazor

8 posts, 0 answers
  1. ToltingColtAcres
    ToltingColtAcres avatar
    96 posts
    Member since:
    Nov 2010

    Posted 22 Jan Link to this post

    Environment: VS 2019 w/ all latest updates.

    Installed Telerik UI For Blazor through Progress Control Panel.

    Attempting to create new Telerik Blazor solution, or add new Telerik Blazor project to existing solution, yields the following error:

     

    NU1101 Unable to find package Telerik.UI.for.Blazor. No packages exist with this id in source(s): Local Packages, Microsoft Visual Studio Offline Packages, nuget.org

     

    Restarted VS as well as machine, same error.

    Instructions on how to resolve would be appreciated.

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5128 posts

    Posted 22 Jan Link to this post

    Hello Michael,

    From the list of feeds where VS looked for our package, it looks like the Telerik feed through which our UI for Blazor package is distributed, is not add on the machine.

    Here's how to add it: https://docs.telerik.com/blazor-ui/installation/nuget

    Alternatively, you can use a local feed: https://docs.telerik.com/blazor-ui/installation/zip

    You can find more details on what you need to get things running in this article: https://docs.telerik.com/blazor-ui/getting-started/what-you-need

    If you prefer tutorials, here are two:

     

     

    Regards,
    Marin Bratanov
    Progress Telerik

     UI for Blazor
  3. ToltingColtAcres
    ToltingColtAcres avatar
    96 posts
    Member since:
    Nov 2010

    Posted 22 Jan in reply to Marin Bratanov Link to this post

    that worked, great, thanks.

     

    Next issue: After building the skeleton template installed through extensions -> Telerik -> Telerik UI for Blazor -> Create new project

     

    running the resulting build yields a web page that simply says "Loading..." and nothing else... 

    Any idea? 

  4. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5128 posts

    Posted 22 Jan Link to this post

    Can you confirm the startup project is the .Server project in the WASM solution?

    I'm also attaching a solution I created with the VS extensions and it works fine for me, so you can compare against it (e.g., with a tool like WinMerge to see what is the differences between the project you have that fails, and this one).

    The loading sign not disappearing in a WASM app indicates that something fails during loading of the assets and/or a JS error is thrown, but what is the exact error and its cause is hard to tell based on the available information.

    If comparing against the sample here does not help, please open a support ticket and send me the sample project that fails so I can have a look at it.

     

    Regards,
    Marin Bratanov
    Progress Telerik

     UI for Blazor
  5. ToltingColtAcres
    ToltingColtAcres avatar
    96 posts
    Member since:
    Nov 2010

    Posted 22 Jan in reply to Marin Bratanov Link to this post

    ok I'll take a look.

    no errors on build or startup that I can determine.

    info: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[0]
          User profile is available. Using 'C:\Users\tca\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
    Hosting environment: Development
    Content root path: D:\Development\MyApp\MyApp.Admin\Server
    Now listening on: http://localhost:62354
    Application started. Press Ctrl+C to shut down.
    info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
          Request starting HTTP/1.1 GET http://localhost:62354/
    info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
          Executing endpoint 'Fallback {*path:nonfile}'
    info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
          Sending file. Request path: '/index.html'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\wwwroot\index.html'
    info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
          Executed endpoint 'Fallback {*path:nonfile}'
    info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Request finished in 169.9494ms 200 text/html
    info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
          Request starting HTTP/1.1 GET http://localhost:62354/css/site.css
    info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
          Sending file. Request path: '/css/site.css'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\wwwroot\css\site.css'
    info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Request finished in 9.4318ms 200 text/css
    info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
          Request starting HTTP/1.1 GET http://localhost:62354/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js
    info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
          Request starting HTTP/1.1 GET http://localhost:62354/_framework/blazor.webassembly.js
    info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
          Request starting HTTP/1.1 GET http://localhost:62354/css/bootstrap/bootstrap.min.css
    info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
          Sending file. Request path: '/_framework/blazor.webassembly.js'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\bin\Debug\netstandard2.1\dist\_framework\blazor.webassembly.js'
    info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
          Sending file. Request path: '/css/bootstrap/bootstrap.min.css'. Physical path: 'D:\Development\MyApp\MyApp.Admin\Client\wwwroot\css\bootstrap\bootstrap.min.css'
    info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Request finished in 20.1225ms 200 text/css
    info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
          Request finished in 71.0469ms 200 application/javascript
    info: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[2]
          Sending file. Request path: '/_content/Telerik.UI.for.Blazor/js/telerik-blazor.js'. Physical path: 'C:\Users\tca\.nuget\packages\telerik.ui.for.blazor\2.6.1\staticwebassets\js\telerik-blazor.js'
    info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
          Request starting HTTP/1.1 GET http://localhost:62354/css/open-iconic/font/css/open-iconic-bootstrap.min.css

  6. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5128 posts

    Posted 23 Jan Link to this post

    Hello,

    It does not look like there are any errors here, but you can still check the browser console for runtime errors that can break the app, and for broken network requests (things like proxies, firewalls, antivirus programs can tamper with the browser requests and break them even if the server returns them properly).

    Without being able to see, read and debug the code, I can only guess and I would encourage you to open a ticket if this issue persists so I can take a look and avoid further guesswork.

     

    Regards,
    Marin Bratanov
    Progress Telerik

     UI for Blazor
  7. ToltingColtAcres
    ToltingColtAcres avatar
    96 posts
    Member since:
    Nov 2010

    Posted 23 Jan in reply to Marin Bratanov Link to this post

    Well your sample app didn't work either... same issue. Very strange.
  8. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5128 posts

    Posted 23 Jan Link to this post

    Do you get any errors in the browser console? Perhaps one of these: https://docs.telerik.com/blazor-ui/troubleshooting/js-errors?

    Does a WASM project work on your end without the Telerik components?

     

    Regards,
    Marin Bratanov
    Progress Telerik

     UI for Blazor
Back to Top