DesignRevision/shards-dashboard-react

Module not found: Can't resolve './shards-dashboard/styles/shards-dashboards.1.1.0.min.css' in '/Users/Desktop/shards-dashboard-react-master/src'

SreekanthGudisi opened this issue ยท 11 comments

Hi,
Getting this error

Module not found: Can't resolve './shards-dashboard/styles/shards-dashboards.1.1.0.min.css' in '/Users/Desktop/shards-dashboard-react-master/src'

@SreekanthGudisi
I can also confirm that the following works.

Clone the master (doesn't work if you download as zip)
Inside .gitmodules, replace the content to below
[submodule "src/shards-dashboard"] path = src/shards-dashboard url = https://github.com/DesignRevision/shards-dashboard.git branch = master

Run the command git submodule init && git submodule update

Install the npm packages and start!

@hamza-lango thank you, error resolved

@SreekanthGudisi
I can also confirm that the following works.

Clone the master (doesn't work if you download as zip)
Inside .gitmodules, replace the content to below
[submodule "src/shards-dashboard"] path = src/shards-dashboard url = https://github.com/DesignRevision/shards-dashboard.git branch = master

Run the command git submodule init && git submodule update

Install the npm packages and start!

not worked for me **** :(

this is not the answer developer might be looking for. but I get out of rids by going to
https://designrevision.com/demo/shards-dashboard-lite/styles/shards-dashboards.1.1.0.min.css
then download(Save it using Ctrl+S).
now create the styles folder inside the shards-dashboard and move the newly-downloaded file to the folder.
Hope this trick helps you out.

this is not the answer developer might be looking for. but I get out of rids by going to
https://designrevision.com/demo/shards-dashboard-lite/styles/shards-dashboards.1.1.0.min.css
then download(Save it using Ctrl+S).
now create the styles folder inside the shards-dashboard and move the newly-downloaded file to the folder.
Hope this trick helps you out.

this works for me

@SreekanthGudisi
I can also confirm that the following works.
Clone the master (doesn't work if you download as zip)
Inside .gitmodules, replace the content to below
[submodule "src/shards-dashboard"] path = src/shards-dashboard url = https://github.com/DesignRevision/shards-dashboard.git branch = master
Run the command git submodule init && git submodule update
Install the npm packages and start!

not worked for me **** :(

@SreekanthGudisi
I can also confirm that the following works.

Clone the master (doesn't work if you download as zip)
Inside .gitmodules, replace the content to below
[submodule "src/shards-dashboard"] path = src/shards-dashboard url = https://github.com/DesignRevision/shards-dashboard.git branch = master

Run the command git submodule init && git submodule update

Install the npm packages and start!

This works for me too!

this is not the answer developer might be looking for. but I get out of rids by going to
https://designrevision.com/demo/shards-dashboard-lite/styles/shards-dashboards.1.1.0.min.css
then download(Save it using Ctrl+S).
now create the styles folder inside the shards-dashboard and move the newly-downloaded file to the folder.
Hope this trick helps you out.

This also worked for me, thanks !

โžœ  shards-dashboard-react git:(master) โœ— git submodule init && git submodule update
Cloning into '/var/www/html/react/shards-dashboard-react/src/shards-dashboard'...
fatal: unable to access 'https://github.com/DesignRevision/shards-dashboard.git/': Could not resolve host: github.com
fatal: clone of 'https://github.com/DesignRevision/shards-dashboard.git' into submodule path '/var/www/html/react/shards-dashboard-react/src/shards-dashboard' failed
Failed to clone 'src/shards-dashboard'. Retry scheduled
Cloning into '/var/www/html/react/shards-dashboard-react/src/shards-dashboard'...
fatal: unable to access 'https://github.com/DesignRevision/shards-dashboard.git/': Could not resolve host: github.com
fatal: clone of 'https://github.com/DesignRevision/shards-dashboard.git' into submodule path '/var/www/html/react/shards-dashboard-react/src/shards-dashboard' failed
Failed to clone 'src/shards-dashboard' a second time, aborting

this is not the answer developer might be looking for. but I get out of rids by going to
https://designrevision.com/demo/shards-dashboard-lite/styles/shards-dashboards.1.1.0.min.css
then download(Save it using Ctrl+S).
now create the styles folder inside the shards-dashboard and move the newly-downloaded file to the folder.
Hope this trick helps you out.

working! thanks

this is not the answer developer might be looking for. but I get out of rids by going to https://designrevision.com/demo/shards-dashboard-lite/styles/shards-dashboards.1.1.0.min.css then download(Save it using Ctrl+S). now create the styles folder inside the shards-dashboard and move the newly-downloaded file to the folder. Hope this trick helps you out.

Not Work For me!