tabler-react
tabler-react copied to clipboard
Error: Can't resolve '/img/flags/ad.svg'
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!
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
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.
You Have to Put A Dot In Starting
There are no components in the node module. Currently, when you install that version, many folder files do not exist...