Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Michael Nielsen 99 posts 619 karma points
    Mar 12, 2019 @ 09:38
    Michael Nielsen

    DependencyHandler throws an error


    Trying to use this package in a new Umbraco 8 site, but when selecting an option in the editor, I get an error in the console from the DependencyHandler

    Error: [$injector:unpr] Unknown provider: nProvider <- n$injector/unpr?p0=nProvider%20%3C-%20n
        at Object.getService [as get] (…066:formatted:15729)
        at getService (…066:formatted:15729)
        at injectionArgs (…066:formatted:15749)
        at Object.invoke (…066:formatted:15768)
        at $controllerInit (…066:formatted:18355)
        at nodeLinkFn (…066:formatted:17602)
        at compositeLinkFn (…066:formatted:17176)
    (anonymous) @…066:formatted:19759
    (anonymous) @…066:formatted:18411
    $digest @…066:formatted:22304
    $apply  @…066:formatted:22399
    safeApply   @…066:formatted:61657
    (anonymous) @…066:formatted:61928
    i   @   lazyload.min.js:1
    m   @   lazyload.min.js:1

    Setup is like this

    Umbraco v 8.0.0 Iconic v 2.0.0

    Am I missing something?

  • Mario 117 posts 741 karma points c-trib
    Mar 13, 2019 @ 22:18

    For some reason the minimised versions of the javascript files don't work. I'm going to upload a new package using the unminimised instead. In the meantime you can modify the package.manifest in App_Plugins/Iconic like this:

    "javascript": [
  • Michael Nielsen 99 posts 619 karma points
    Mar 15, 2019 @ 11:28
    Michael Nielsen

    I just updated the package via Nuget, which contained the unminified files.

    Works perfectly, thanks for a great package.

Please Sign in or register to post replies

Write your reply to: