Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work on Amplify #1

Open
kyo-jp opened this issue Dec 22, 2020 · 0 comments
Open

It doesn't work on Amplify #1

kyo-jp opened this issue Dec 22, 2020 · 0 comments

Comments

@kyo-jp
Copy link

kyo-jp commented Dec 22, 2020

I bought pro and use on Amplify, it doesn't work even if it works local env.
There is no error but the screen is brank.

this is package.json.

{
  "name": "BabyLookProviderAdministrationSystem",
  "version": "1.0.0",
  "title": "BabyLook Provider Administration System",
  "homepage": "https://www.babylook.mom",
  "description": "This is for providers system of BabyLook. You can move to https://www.babylook.mom .",
  "author": {
    "name": "BabyLook",
    "url": "https://babylook.mom"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/uifort/carolina-react-admin-dashboard-pro"
  },
  "dependencies": {
    "@date-io/date-fns": "1.3.13",
    "@fortawesome/fontawesome-svg-core": "1.2.27",
    "@fortawesome/free-brands-svg-icons": "5.12.1",
    "@fortawesome/free-regular-svg-icons": "5.12.1",
    "@fortawesome/free-solid-svg-icons": "5.12.1",
    "@fortawesome/react-fontawesome": "0.1.8",
    "@material-ui/core": "4.9.2",
    "@material-ui/icons": "4.5.1",
    "@material-ui/lab": "4.0.0-alpha.43",
    "@material-ui/pickers": "3.2.10",
    "apexcharts": "3.15.6",
    "aws-amplify": "^3.3.8",
    "aws-amplify-react": "^4.2.12",
    "chart.js": "2.9.3",
    "clsx": "1.1.0",
    "date-fns": "2.9.0",
    "draft-js": "0.11.4",
    "draftjs-to-html": "0.9.1",
    "framer-motion": "1.8.4",
    "google-map-react": "1.1.6",
    "hamburgers": "1.1.3",
    "html-to-draftjs": "01.5.0",
    "immutability-helper": "3.0.1",
    "leaflet": "1.6.0",
    "material-ui-chip-input": "^2.0.0-beta.2",
    "pe7-icon": "1.0.4",
    "prop-types": "^15.7.2",
    "react": "16.12.0",
    "react-apexcharts": "1.3.6",
    "react-big-calendar": "0.24.0",
    "react-chartjs-2": "2.9.0",
    "react-circle": "1.1.1",
    "react-color": "2.18.0",
    "react-contextmenu": "2.13.0",
    "react-copy-to-clipboard": "5.0.2",
    "react-countup": "4.3.3",
    "react-cropper": "1.3.0",
    "react-dnd": "10.0.2",
    "react-dnd-html5-backend": "10.0.2",
    "react-dom": "16.12.0",
    "react-draft-wysiwyg": "1.14.4",
    "react-dropzone": "10.2.1",
    "react-feather": "2.0.3",
    "react-flag-kit": "0.3.1",
    "react-gauge-chart": "0.2.5",
    "react-images-upload": "^1.2.8",
    "react-infinite-scroll-component": "5.0.4",
    "react-ionicons": "3.1.4",
    "react-joyride": "2.2.1",
    "react-leaflet": "2.6.1",
    "react-material-ui-form-validator": "^2.1.1",
    "react-number-format": "4.3.1",
    "react-perfect-scrollbar": "1.5.8",
    "react-redux": "7.2.0",
    "react-router": "5.1.2",
    "react-router-dom": "5.1.2",
    "react-scripts": "3.4.0",
    "react-slick": "0.25.2",
    "react-sparklines": "1.7.0",
    "react-spinners": "0.8.0",
    "react-text-mask": "5.4.3",
    "react-trend": "1.2.5"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "format": "./node_modules/.bin/eslint --fix --ignore-path .gitignore ."
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "eslint": "6.8.0",
    "eslint-plugin-prettier": "3.1.2",
    "eslint-plugin-react": "7.18.3",
    "eslint-plugin-unused-imports": "0.1.2",
    "node-sass": "4.13.1",
    "prettier": "1.19.1",
    "prettier-eslint": "9.0.1",
    "prettier-eslint-cli": "5.0.0",
    "sass-vars-to-js-loader": "2.1.1"
  }
}

Amplify.xml is below.

version: 1
frontend:
    phases:
        preBuild:
            commands: 
                - nvm install 14.15.0
                - nvm use 14.15.0
                - yarn install
        build:
            commands: 
                - nvm install 14.15.0
                - nvm use 14.15.0
                - node -v
                - yarn run build
    artifacts:
        baseDirectory: public
        files:
            - '**/*'
    cache:
        paths:
            - 'node_modules/**/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant