babel: Module build failed: Error: Duplicate plugin/preset detected

Hi,

i am new to node packages and i am trying to build the packages and i spent my whole day to find out what might be the issue but i am unable to sort it out. below is my package.json file

{
  "private": true,
  "scripts": {
    "dev": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production-noprogress": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
  },
  "dependencies": {
    "@babel/core": "^7.12.10",
    "@ungap/url-search-params": "^0.1.2",
    "@vimeo/player": "^2.0.1",
    "axios": "^0.21.1",
    "babel-plugin-syntax-dynamic-import": "^6.18.0",
    "babel-polyfill": "^6.26.0",
    
    "babel-preset-es2015": "^6.24.1",
    "bootstrap": "^4.1.1",
    "bootstrap-daterangepicker": "2.1.27",
    "bootstrap-sass": "^3.3.7",
    "bootstrap-select": "^1.13.8",
    "bugsnag-sourcemap-webpack-plugin": "^0.9.7",
    "countup.js": "^1.9.3",
    "cross-env": "^3.2.3",
    "css-loader": "^0.28.11",
    "dotenv": "^5.0.1",
    "eonasdan-bootstrap-datetimepicker": "^4.17.47",
    "font-awesome": "^4.7.0",
    "img-loader": "^2.0.0",
    "intl-tel-input": "^12.1.10",
    "jquery": "^3.3.1",
    "jquery-toast-plugin": "^1.3.2",
    "js-cookie": "^2.1.0",
    "laravel-mix": "2.1.14",
    "metismenu": "^2.7.8",
    "modernizr": "^3.6.0",
    "moment": "^2.17.1",
    "moment-timezone": "^0.4.0",
    "normalize.css": "^8.0.1",
    "nouislider": "^10.0.0",
    "numeral": "^2.0.6",
    "object.entries": "^1.0.4",
    "outdated-browser-rework": "^2.9.0",
    "pace-progress": "^1.0.2",
    "perfect-scrollbar": "0.8.1",
    "popper.js": "^1.14.3",
    "promise": "^7.1.1",
    "scrollreveal": "3.4.0",
    "slick-carousel": "1.6.0",
    "sweetalert2": "^7.24.4",
    "trix": "^1.0.0",
    "ua-parser-js": "^0.7.20",
    "underscore": "^1.8.3",
    "urijs": "^1.17.0",
    "v-img": "^0.2.0",
    "vee-validate": "^2.1.0-beta.2",
    "vue": "^2.2.4",
    "vue-flatpickr-component": "^8.0.0",
    "vue-infinite-scroll": "^2.0.0",
    "vue-l-carousel": "^1.0.1",
    "vue-loader": "^11.1.4",
    "vue-multiselect": "^2.1.0",
    "vue-template-compiler": "^2.2.4",
    "vuex": "^3.0.1",
    "weakmap-polyfill": "^2.0.0"
  },
  "devDependencies": {
    "@babel/preset-env": "^7.12.11",
    "babel-core": "^6.26.3",
    "babel-loader": "^8.2.2",
    "less": "^3.0.1",
    "less-loader": "^4.1.0"
  }
}

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

do you mean the whole error?