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

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

Open
ChessUsername opened this issue May 29, 2021 · 4 comments
Open

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

ChessUsername opened this issue May 29, 2021 · 4 comments

Comments

@ChessUsername
Copy link

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!

@esskar
Copy link

esskar commented Jun 5, 2021

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

@esskar
Copy link

esskar commented Jun 5, 2021

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.

@MahendraBishnoi29
Copy link

You Have to Put A Dot In Starting

@CaliforniaLuv
Copy link

CaliforniaLuv commented Mar 18, 2022

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants