Open Closed

AbpException: Could not find the bundle file '/libs/flag-icon-css/css/flag-icons.min.css' #3091


User avatar
0
Leonardo.Willrich created
  • ABP Framework version: v5.2.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I've updated the ABP.IO framework Blazor - WASM from 5.2.1 to 5.2.2 and I've noticed that the file flag-icons.min.css was deleted and a new file was created called flag-icon.min.css (without the letter "s").

How to fix that?

Also, if I run "abp install-libs" it deletes a lot of folders inside the libs folder. Is that normal? Even the folder abp gets deleted.


21 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Also, if I run "abp install-libs" it deletes a lot of folders inside the libs folder. Is that normal? Even the folder abp gets deleted.

    hi

    Please upgrade the package's version in the packages.json file. then run abp install-libs command.

  • User Avatar
    0
    Leonardo.Willrich created

    Hi maliming,

    It was already updated. Even with the right version, it is not working.

    "dependencies": { "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~5.2.2", "@volo/account": "~5.2.2"

    What else do I need to upgrade?

  • User Avatar
    0
    Leonardo.Willrich created

    All these files are missing after "abp install-libs". I executing the command in the \src\TVD_Holdings_Ltd.SBC.HttpApi.Host folder.

    libs/abp libs/abp/core libs/abp/core/abp.css libs/abp/core/abp.js libs/abp/jquery libs/abp/jquery/abp.jquery.js libs/abp/luxon libs/abp/luxon/abp.luxon.js libs/abp/utils libs/abp/utils/abp-utils.umd.js libs/abp/utils/abp-utils.umd.js.map libs/abp/utils/abp-utils.umd.min.js libs/abp/utils/abp-utils.umd.min.js.map libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js libs/flag-icon-css libs/flag-icon-css/css libs/flag-icon-css/css/flag-icon.css libs/flag-icon-css/css/flag-icon.min.css libs/flag-icon-css/css/flag-icons.min.css libs/flag-icon-css/flags libs/flag-icon-css/flags/1x1 libs/flag-icon-css/flags/1x1/ad.svg libs/flag-icon-css/flags/1x1/ae.svg libs/flag-icon-css/flags/1x1/af.svg libs/flag-icon-css/flags/1x1/ag.svg libs/flag-icon-css/flags/1x1/ai.svg libs/flag-icon-css/flags/1x1/al.svg libs/flag-icon-css/flags/1x1/am.svg libs/flag-icon-css/flags/1x1/ao.svg libs/flag-icon-css/flags/1x1/aq.svg libs/flag-icon-css/flags/1x1/ar.svg libs/flag-icon-css/flags/1x1/as.svg libs/flag-icon-css/flags/1x1/at.svg libs/flag-icon-css/flags/1x1/au.svg libs/flag-icon-css/flags/1x1/aw.svg libs/flag-icon-css/flags/1x1/ax.svg libs/flag-icon-css/flags/1x1/az.svg libs/flag-icon-css/flags/1x1/ba.svg libs/flag-icon-css/flags/1x1/bb.svg libs/flag-icon-css/flags/1x1/bd.svg libs/flag-icon-css/flags/1x1/be.svg libs/flag-icon-css/flags/1x1/bf.svg libs/flag-icon-css/flags/1x1/bg.svg libs/flag-icon-css/flags/1x1/bh.svg libs/flag-icon-css/flags/1x1/bi.svg libs/flag-icon-css/flags/1x1/bj.svg libs/flag-icon-css/flags/1x1/bl.svg libs/flag-icon-css/flags/1x1/bm.svg libs/flag-icon-css/flags/1x1/bn.svg libs/flag-icon-css/flags/1x1/bo.svg libs/flag-icon-css/flags/1x1/bq.svg libs/flag-icon-css/flags/1x1/br.svg libs/flag-icon-css/flags/1x1/bs.svg libs/flag-icon-css/flags/1x1/bt.svg libs/flag-icon-css/flags/1x1/bv.svg libs/flag-icon-css/flags/1x1/bw.svg libs/flag-icon-css/flags/1x1/by.svg libs/flag-icon-css/flags/1x1/bz.svg libs/flag-icon-css/flags/1x1/ca.svg libs/flag-icon-css/flags/1x1/cc.svg libs/flag-icon-css/flags/1x1/cd.svg libs/flag-icon-css/flags/1x1/cf.svg libs/flag-icon-css/flags/1x1/cg.svg libs/flag-icon-css/flags/1x1/ch.svg libs/flag-icon-css/flags/1x1/ci.svg libs/flag-icon-css/flags/1x1/ck.svg libs/flag-icon-css/flags/1x1/cl.svg libs/flag-icon-css/flags/1x1/cm.svg libs/flag-icon-css/flags/1x1/cn.svg libs/flag-icon-css/flags/1x1/co.svg libs/flag-icon-css/flags/1x1/cr.svg libs/flag-icon-css/flags/1x1/cu.svg libs/flag-icon-css/flags/1x1/cv.svg libs/flag-icon-css/flags/1x1/cw.svg libs/flag-icon-css/flags/1x1/cx.svg libs/flag-icon-css/flags/1x1/cy.svg libs/flag-icon-css/flags/1x1/cz.svg libs/flag-icon-css/flags/1x1/de.svg libs/flag-icon-css/flags/1x1/dj.svg libs/flag-icon-css/flags/1x1/dk.svg libs/flag-icon-css/flags/1x1/dm.svg libs/flag-icon-css/flags/1x1/do.svg libs/flag-icon-css/flags/1x1/dz.svg libs/flag-icon-css/flags/1x1/ec.svg libs/flag-icon-css/flags/1x1/ee.svg libs/flag-icon-css/flags/1x1/eg.svg libs/flag-icon-css/flags/1x1/eh.svg libs/flag-icon-css/flags/1x1/er.svg libs/flag-icon-css/flags/1x1/es-ca.svg libs/flag-icon-css/flags/1x1/es-ga.svg libs/flag-icon-css/flags/1x1/es.svg libs/flag-icon-css/flags/1x1/et.svg libs/flag-icon-css/flags/1x1/eu.svg libs/flag-icon-css/flags/1x1/fi.svg libs/flag-icon-css/flags/1x1/fj.svg libs/flag-icon-css/flags/1x1/fk.svg libs/flag-icon-css/flags/1x1/fm.svg libs/flag-icon-css/flags/1x1/fo.svg libs/flag-icon-css/flags/1x1/fr.svg libs/flag-icon-css/flags/1x1/ga.svg libs/flag-icon-css/flags/1x1/gb-eng.svg libs/flag-icon-css/flags/1x1/gb-nir.svg libs/flag-icon-css/flags/1x1/gb-sct.svg libs/flag-icon-css/flags/1x1/gb-wls.svg libs/flag-icon-css/flags/1x1/gb.svg libs/flag-icon-css/flags/1x1/gd.svg libs/flag-icon-css/flags/1x1/ge.svg libs/flag-icon-css/flags/1x1/gf.svg libs/flag-icon-css/flags/1x1/gg.svg libs/flag-icon-css/flags/1x1/gh.svg libs/flag-icon-css/flags/1x1/gi.svg libs/flag-icon-css/flags/1x1/gl.svg libs/flag-icon-css/flags/1x1/gm.svg libs/flag-icon-css/flags/1x1/gn.svg libs/flag-icon-css/flags/1x1/gp.svg libs/flag-icon-css/flags/1x1/gq.svg libs/flag-icon-css/flags/1x1/gr.svg libs/flag-icon-css/flags/1x1/gs.svg libs/flag-icon-css/flags/1x1/gt.svg libs/flag-icon-css/flags/1x1/gu.svg libs/flag-icon-css/flags/1x1/gw.svg libs/flag-icon-css/flags/1x1/gy.svg libs/flag-icon-css/flags/1x1/hk.svg libs/flag-icon-css/flags/1x1/hm.svg libs/flag-icon-css/flags/1x1/hn.svg libs/flag-icon-css/flags/1x1/hr.svg libs/flag-icon-css/flags/1x1/ht.svg libs/flag-icon-css/flags/1x1/hu.svg libs/flag-icon-css/flags/1x1/id.svg libs/flag-icon-css/flags/1x1/ie.svg libs/flag-icon-css/flags/1x1/il.svg libs/flag-icon-css/flags/1x1/im.svg libs/flag-icon-css/flags/1x1/in.svg libs/flag-icon-css/flags/1x1/io.svg libs/flag-icon-css/flags/1x1/iq.svg libs/flag-icon-css/flags/1x1/ir.svg libs/flag-icon-css/flags/1x1/is.svg libs/flag-icon-css/flags/1x1/it.svg libs/flag-icon-css/flags/1x1/je.svg libs/flag-icon-css/flags/1x1/jm.svg libs/flag-icon-css/flags/1x1/jo.svg libs/flag-icon-css/flags/1x1/jp.svg libs/flag-icon-css/flags/1x1/ke.svg libs/flag-icon-css/flags/1x1/kg.svg libs/flag-icon-css/flags/1x1/kh.svg libs/flag-icon-css/flags/1x1/ki.svg libs/flag-icon-css/flags/1x1/km.svg libs/flag-icon-css/flags/1x1/kn.svg libs/flag-icon-css/flags/1x1/kp.svg libs/flag-icon-css/flags/1x1/kr.svg libs/flag-icon-css/flags/1x1/kw.svg libs/flag-icon-css/flags/1x1/ky.svg libs/flag-icon-css/flags/1x1/kz.svg libs/flag-icon-css/flags/1x1/la.svg libs/flag-icon-css/flags/1x1/lb.svg libs/flag-icon-css/flags/1x1/lc.svg libs/flag-icon-css/flags/1x1/li.svg libs/flag-icon-css/flags/1x1/lk.svg libs/flag-icon-css/flags/1x1/lr.svg libs/flag-icon-css/flags/1x1/ls.svg libs/flag-icon-css/flags/1x1/lt.svg libs/flag-icon-css/flags/1x1/lu.svg libs/flag-icon-css/flags/1x1/lv.svg libs/flag-icon-css/flags/1x1/ly.svg libs/flag-icon-css/flags/1x1/ma.svg libs/flag-icon-css/flags/1x1/mc.svg libs/flag-icon-css/flags/1x1/md.svg libs/flag-icon-css/flags/1x1/me.svg libs/flag-icon-css/flags/1x1/mf.svg libs/flag-icon-css/flags/1x1/mg.svg libs/flag-icon-css/flags/1x1/mh.svg libs/flag-icon-css/flags/1x1/mk.svg libs/flag-icon-css/flags/1x1/ml.svg libs/flag-icon-css/flags/1x1/mm.svg libs/flag-icon-css/flags/1x1/mn.svg libs/flag-icon-css/flags/1x1/mo.svg libs/flag-icon-css/flags/1x1/mp.svg libs/flag-icon-css/flags/1x1/mq.svg libs/flag-icon-css/flags/1x1/mr.svg libs/flag-icon-css/flags/1x1/ms.svg libs/flag-icon-css/flags/1x1/mt.svg libs/flag-icon-css/flags/1x1/mu.svg libs/flag-icon-css/flags/1x1/mv.svg libs/flag-icon-css/flags/1x1/mw.svg libs/flag-icon-css/flags/1x1/mx.svg libs/flag-icon-css/flags/1x1/my.svg libs/flag-icon-css/flags/1x1/mz.svg libs/flag-icon-css/flags/1x1/na.svg libs/flag-icon-css/flags/1x1/nc.svg libs/flag-icon-css/flags/1x1/ne.svg libs/flag-icon-css/flags/1x1/nf.svg libs/flag-icon-css/flags/1x1/ng.svg libs/flag-icon-css/flags/1x1/ni.svg libs/flag-icon-css/flags/1x1/nl.svg libs/flag-icon-css/flags/1x1/no.svg libs/flag-icon-css/flags/1x1/np.svg libs/flag-icon-css/flags/1x1/nr.svg libs/flag-icon-css/flags/1x1/nu.svg libs/flag-icon-css/flags/1x1/nz.svg libs/flag-icon-css/flags/1x1/om.svg libs/flag-icon-css/flags/1x1/pa.svg libs/flag-icon-css/flags/1x1/pe.svg libs/flag-icon-css/flags/1x1/pf.svg libs/flag-icon-css/flags/1x1/pg.svg libs/flag-icon-css/flags/1x1/ph.svg libs/flag-icon-css/flags/1x1/pk.svg libs/flag-icon-css/flags/1x1/pl.svg libs/flag-icon-css/flags/1x1/pm.svg libs/flag-icon-css/flags/1x1/pn.svg libs/flag-icon-css/flags/1x1/pr.svg libs/flag-icon-css/flags/1x1/ps.svg libs/flag-icon-css/flags/1x1/pt.svg libs/flag-icon-css/flags/1x1/pw.svg libs/flag-icon-css/flags/1x1/py.svg libs/flag-icon-css/flags/1x1/qa.svg libs/flag-icon-css/flags/1x1/re.svg libs/flag-icon-css/flags/1x1/ro.svg libs/flag-icon-css/flags/1x1/rs.svg libs/flag-icon-css/flags/1x1/ru.svg libs/flag-icon-css/flags/1x1/rw.svg libs/flag-icon-css/flags/1x1/sa.svg libs/flag-icon-css/flags/1x1/sb.svg libs/flag-icon-css/flags/1x1/sc.svg libs/flag-icon-css/flags/1x1/sd.svg libs/flag-icon-css/flags/1x1/se.svg libs/flag-icon-css/flags/1x1/sg.svg libs/flag-icon-css/flags/1x1/sh.svg libs/flag-icon-css/flags/1x1/si.svg libs/flag-icon-css/flags/1x1/sj.svg libs/flag-icon-css/flags/1x1/sk.svg libs/flag-icon-css/flags/1x1/sl.svg libs/flag-icon-css/flags/1x1/sm.svg libs/flag-icon-css/flags/1x1/sn.svg libs/flag-icon-css/flags/1x1/so.svg libs/flag-icon-css/flags/1x1/sr.svg libs/flag-icon-css/flags/1x1/ss.svg libs/flag-icon-css/flags/1x1/st.svg libs/flag-icon-css/flags/1x1/sv.svg libs/flag-icon-css/flags/1x1/sx.svg libs/flag-icon-css/flags/1x1/sy.svg libs/flag-icon-css/flags/1x1/sz.svg libs/flag-icon-css/flags/1x1/tc.svg libs/flag-icon-css/flags/1x1/td.svg libs/flag-icon-css/flags/1x1/tf.svg libs/flag-icon-css/flags/1x1/tg.svg libs/flag-icon-css/flags/1x1/th.svg libs/flag-icon-css/flags/1x1/tj.svg libs/flag-icon-css/flags/1x1/tk.svg libs/flag-icon-css/flags/1x1/tl.svg libs/flag-icon-css/flags/1x1/tm.svg libs/flag-icon-css/flags/1x1/tn.svg libs/flag-icon-css/flags/1x1/to.svg libs/flag-icon-css/flags/1x1/tr.svg libs/flag-icon-css/flags/1x1/tt.svg libs/flag-icon-css/flags/1x1/tv.svg libs/flag-icon-css/flags/1x1/tw.svg libs/flag-icon-css/flags/1x1/tz.svg libs/flag-icon-css/flags/1x1/ua.svg libs/flag-icon-css/flags/1x1/ug.svg libs/flag-icon-css/flags/1x1/um.svg libs/flag-icon-css/flags/1x1/un.svg libs/flag-icon-css/flags/1x1/us.svg libs/flag-icon-css/flags/1x1/uy.svg libs/flag-icon-css/flags/1x1/uz.svg libs/flag-icon-css/flags/1x1/va.svg libs/flag-icon-css/flags/1x1/vc.svg libs/flag-icon-css/flags/1x1/ve.svg libs/flag-icon-css/flags/1x1/vg.svg libs/flag-icon-css/flags/1x1/vi.svg libs/flag-icon-css/flags/1x1/vn.svg libs/flag-icon-css/flags/1x1/vu.svg libs/flag-icon-css/flags/1x1/wf.svg libs/flag-icon-css/flags/1x1/ws.svg libs/flag-icon-css/flags/1x1/xk.svg libs/flag-icon-css/flags/1x1/ye.svg libs/flag-icon-css/flags/1x1/yt.svg libs/flag-icon-css/flags/1x1/za.svg libs/flag-icon-css/flags/1x1/zm.svg libs/flag-icon-css/flags/1x1/zw.svg libs/jquery-form libs/jquery-form/jquery.form.min.js libs/jquery-form/jquery.form.min.js.map libs/luxon libs/luxon/luxon.js libs/luxon/luxon.js.map libs/luxon/luxon.min.js libs/luxon/luxon.min.js.map

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Please try to reproduce by using the template project(5.2.2)

  • User Avatar
    0
    Leonardo.Willrich created

    And what happens if it is working on a new project?

  • User Avatar
    0
    Leonardo.Willrich created

    As I was suspecting, in a new project it doesn't remove the libs files. And it has the flag-icons.min.css file instead of flag-icon.min.css file. The package.json are the same:

    {
      "version": "1.0.0",
      "name": "my-app",
      "private": true,
      "dependencies": {
        "@volo/abp.aspnetcore.mvc.ui.theme.lepton": "~5.2.2",
        "@volo/account": "~5.2.2"
      }
    }
    

    What else should I look to try to solve this problem? This project was created and migrated since version 4.0. Possibly, during some migration, I've missed something.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Do you install the yarn? https://yarnpkg.com/

    You can remove the node_modules and retry.

  • User Avatar
    0
    Leonardo.Willrich created

    Hi. Yes, I have Yarn: yarn install v1.9.4

    I've removed node_modules, but, still the same behaviour. I have deleted bin/obj folders as well, just in case, but, no success. Do you want a zip copy of my project? The weirdest thing is that in a new project (template) it works. I've compared two folders but I haven't found anything different at all.

    Before:

    After:

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    ok

    liming.ma@volosoft.com and steps to reproduce.

  • User Avatar
    0
    Leonardo.Willrich created

    An email was sent with Host project. Just let me know if you have received it or not.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I will check it asap. Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    After run abp install-libs on your project.

    And 5.2.2 will use libs/flag-icon-css/css/flag-icons.min.css

    So it seems there is no problem.

    https://github.com/abpframework/abp/blob/rel-5.2/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Packages/Volo/Abp/AspNetCore/Mvc/UI/Packages/FlagIconCss/FlagIconCssStyleContributor.cs#L10

  • User Avatar
    0
    Leonardo.Willrich created

    Ok, I've tried one more time and it is still deleting some files after abp install-libs. Possibly, it is only happening in my env. Do you have any idea what else it could be?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    What's the version of your ABP CLI?

    You can try changing the environment to test.

  • User Avatar
    0
    Leonardo.Willrich created

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I can't think of a possible reason. You can try changing the environment to test.

  • User Avatar
    0
    epieters created

    I have the same error when I try to run easyCRM on ABP 5.2.2

  • User Avatar
    0
    Leonardo.Willrich created

    Hi. I'm still facing the issue. In another machine, it is saying that NPM is not compatible with NodeJS. Even uninstalling and installing NodeJS again, NPM is still on an old version.

    Would you mind connecting to my machine to check this issue? Would that be possible? If so, just let me know when it suits you. I'm in NZ, so, the time zone may be different from yours.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi epieters

    Try to run abp install-libs command in CRM folder.

    hi Leonardo

    Please send an email, let's confirm the time.

  • User Avatar
    0
    Leonardo.Willrich created

    Email sent.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Got it.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19