N
N
Nikita Shchypylov2018-02-05 19:07:31
GitHub
Nikita Shchypylov, 2018-02-05 19:07:31

Why might React App not appear after yarn run deploy?

Hello everyone . I'm trying to
upload my application to GH. It is flooded, the directory is created, but it shows a white screen. Locally everything works
package.json:

{
  "name": "office_dashboard",
  "version": "0.1.0",
  "private": true,
  "homepage": "http://nikulio.github.io/office_dashboard",
  "dependencies": {
    "axios": "^0.17.1",
    "firebase": "^4.9.1",
    "history": "^4.7.2",
    "lodash": "^4.17.4",
    "react": "^16.2.0",
    "react-cookies": "^0.1.0",
    "react-dom": "^16.2.0",
    "react-icons": "^2.2.7",
    "react-redux": "^5.0.6",
    "react-router": "^4.2.0",
    "react-router-dom": "^4.2.2",
    "react-scripts": "1.1.0",
    "recharts": "^1.0.0-beta.7",
    "redux": "^3.7.2",
    "redux-form": "^7.2.1",
    "redux-thunk": "^2.2.0"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject",
    "predeploy": "npm run build",
    "deploy": "gh-pages -d build"
  },
  "devDependencies": {
    "gh-pages": "^1.1.0"
  }
}

You can even check what doesn't work :)
In the terminal I write yarn run deploy, enter the pass from SSH and write "published". What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vladimirvlodimir, 2019-08-05
@vladimirvlodimir

Exactly the same problem. It's just that I still get errors. It is on the segment of deployment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question