progromer
4 سال پیش توسط progromer مطرح شد
3 پاسخ

علت این ارور درreact

سلام دوستان علت این ارور درچیه وقتی پروژه رو ران میکنم این ارور رو بر میگردونه
توضیح تصویر رو وارد کنید


ثبت پرسش جدید
Mohammad reza Golshahi
تخصص : Go - Python
@golshahimohammadreza 4 سال پیش مطرح شد
0

سلام دوست عزیز @pwyazyzzadhbna
بهتر بود تصویر فایل package.json رو ارسال میکیردی به هر حال

https://stackoverflow.com/questions/63912721/failed-to-load-config-react-to-extend-from/66052385

ی بررسی کن


progromer
@pwyazyzzadhbna 4 سال پیش مطرح شد
0

سلام این کد های packag.json این لین ک رو قبلا مطالعه کردم چیزی دستگیرم نشد واقعیتا

{
  "name": "pn",
  "version": "5.2.0",
  "description": "Gogo - React Bootstrap 4 Admin Dashboard Template",
  "private": true,
  "dependencies": {
    "@glidejs/glide": "^3.4.1",
    "availity-reactstrap-validation": "^2.6.1",
    "axios": "^0.21.1",
    "chart.js": "2.9.3",
    "classnames": "2.2.6",
    "firebase": "^7.15.5",
    "formik": "^2.1.4",
    "moment": "2.27.0",
    "mousetrap": "^1.6.5",
    "prop-types": "^15.7.2",
    "rc-slider": "^9.3.1",
    "rc-switch": "^3.2.0",
    "react": "^16.13.1",
    "react-albus": "^2.0.0",
    "react-autosuggest": "^10.0.2",
    "react-big-calendar": "^0.26.0",
    "react-circular-progressbar": "^2.0.3",
    "react-contextmenu": "^2.14.0",
    "react-datepicker": "^3.0.0",
    "react-dom": "^16.13.1",
    "react-dropzone-component": "^3.2.0",
    "react-google-maps": "^9.4.5",
    "react-headroom": "^3.0.0",
    "react-image-lightbox": "^5.1.1",
    "react-intl": "5.0.2",
    "react-lines-ellipsis": "^0.14.1",
    "react-perfect-scrollbar": "^1.5.8",
    "react-quill": "^1.3.5",
    "react-rater": "^5.1.1",
    "react-redux": "^7.2.0",
    "react-router-dom": "^5.2.0",
    "react-scripts": "^4.0.3",
    "react-scroll": "^1.7.16",
    "react-select": "^3.1.0",
    "react-sortablejs": "^2.0.11",
    "react-table": "7.2.2",
    "react-tagsinput": "^3.19.0",
    "react-transition-group": "^4.4.1",
    "react-yandex-maps": "^4.6.0",
    "reactstrap": "^8.5.1",
    "redux": "^4.0.5",
    "redux-saga": "^1.1.3",
    "sortablejs": "^1.10.2",
    "video.js": "^7.12.1",
    "yup": "^0.29.1"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "precommit": "lint-staged"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/.js": [
      "eslint --fix",
      "git add"
    ]
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "devDependencies": {
    "eslint-config-airbnb": "^18.2.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-config-react": "^1.1.7",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-jsx-a11y": "^6.3.1",
    "eslint-plugin-prettier": "^3.1.4",
    "eslint-plugin-react": "^7.20.3",
    "husky": "^4.2.5",
    "lint-staged": "^10.2.11",
    "node-sass": "^4.14.1",
    "prettier": "^2.0.5"
  }
}

Ali Mortazavi
تخصص : برنامه نویس بک اند
@mortazavimaneshali 4 سال پیش مطرح شد
0

سلام
فایل package-lock.json رو پاک کنید و دوباره سرور رو اجرا کنید
شاید درست بشه
package-lock.json بعضی وقتا مشکلات عجیبی ایجاد میکنه


برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام