shards-dashboard-react icon indicating copy to clipboard operation
shards-dashboard-react copied to clipboard

deploy on server blank page no error

Open yogithesymbian opened this issue 3 years ago • 2 comments

I didn't find any manuals and errors I've implemented it on my server with the sudo npm run-script build

I have set my package json

{
  "name": "shards-dashboard-lite-react",
  "version": "1.0.0",
  "private": true,
  "homepage": "http://xx.xx.xx.xx/apps/spk/",
  "dependencies": {
...................................
..............................

i have try to with "homepage": "./",

still blank page and no error .

but when I try to implement with netfliy, it's ok (no problem, no error)

i have try with other project react without template (defaut react) build and deploy to my server ,it's ok (no problem, no error)

http://47.254.248.35/apps/spk/ // shard dashboard http://47.254.248.35/apps/books/ // default

thanks in advance

yogithesymbian avatar Sep 19 '20 01:09 yogithesymbian

I facing the same issue. after uploading all files from a yarn build , there is a blank page.

Nsengiyunva avatar Sep 23 '20 10:09 Nsengiyunva

I facing the same issue. after uploading all files from a yarn build , there is a blank page.

I have solved by using MemoryRouter instead of BrowserRouter @Nsengiyunva

yogithesymbian avatar Sep 24 '20 16:09 yogithesymbian