DEV Community

Vishal Gupta
Vishal Gupta

Posted on

Need assistance with deploying Vite.js application on AWS Beanstalk

I'm currently facing some difficulties in uploading the Vite.js application on AWS Beanstalk, as the deployment process is failing. I was wondering if anyone with experience in this area could kindly assist me by providing the necessary steps to ensure a successful deployment.

I would greatly appreciate any guidance or advice you can offer. Thank you in advance for your support.

Attaching my package.json

{
  "name": "marketing",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "start": "vite",
    "build": "tsc && vite build",
    "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
    "preview": "vite preview"
  },
  "dependencies": {
    "@hookform/resolvers": "^3.1.0",
    "apexcharts": "^3.40.0",
    "axios": "^1.4.0",
    "dayjs": "^1.11.7",
    "react": "^18.2.0",
    "react-apexcharts": "^1.4.0",
    "react-dom": "^18.2.0",
    "react-email-editor": "^1.7.8",
    "react-fast-marquee": "^1.6.0",
    "react-hash": "^0.1.1",
    "react-hook-form": "^7.43.9",
    "react-icons": "^4.8.0",
    "react-redux": "^8.0.5",
    "react-router-dom": "^6.11.1",
    "react-select": "^5.7.3",
    "react-toastify": "^9.1.3",
    "redux": "^4.2.1",
    "redux-saga": "^1.2.3",
    "yup": "^1.1.1",
    "vite": "^4.3.2"
  },
  "devDependencies": {
    "@hookform/devtools": "^4.3.1",
    "@types/react": "^18.0.28",
    "@types/react-dom": "^18.0.11",
    "@typescript-eslint/eslint-plugin": "^5.57.1",
    "@typescript-eslint/parser": "^5.57.1",
    "@vitejs/plugin-react": "^4.0.0",
    "autoprefixer": "^10.4.14",
    "eslint": "^8.38.0",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-plugin-react-refresh": "^0.3.4",
    "postcss": "^8.4.23",
    "tailwind-scrollbar": "^3.0.4",
    "tailwindcss": "^3.3.2",
    "typescript": "^5.0.2"
  }
}

Enter fullscreen mode Exit fullscreen mode

Top comments (0)