Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Error: Can't resolve '/img/flags/ad.svg' #575

Open

Description

@ChessUsername

HI, i've installed "tabler-react": "^2.0.0-alpha.1" and I'm stuck with this error:

./node_modules/tabler-react/dist/Tabler.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./node_modules/tabler-react/dist/Tabler.css)
Error: Can't resolve '/img/flags/ad.svg' in '/home/myuser/mypath/node_modules/tabler-react/dist'

How can I solve it?
Already tried to delete node_modules and redoing npm install but this didn't solve the problem.
Btw, with "tabler-react": "^1.30.1", there is no error but I need StatsCard with charts, so I need the 2.0.0-alpha.1 version...

Thank for the help!

Activity

  1. esskar commented on Jun 5, 2021

    @esskar

    Having the same issue. Thought the problem is that the flags are located in images folder and not in img, but changing it, does not help

  2. esskar commented on Jun 5, 2021

    @esskar

    Changing it to "./images/flags/ad.svg" (replacing all /img to ./images/) helps a little bit, but that it complains about './images/flags/es-ct.svg' which indeed does not exist.

  3. MahendraBishnoi29 commented on Sep 3, 2021

    @MahendraBishnoi29

    You Have to Put A Dot In Starting

  4. CaliforniaLuv commented on Mar 18, 2022

    @CaliforniaLuv

    There are no components in the node module.
    Currently, when you install that version, many folder files do not exist...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions