olefirenko / vue-google-autocomplete

A Vue.js autosuggest component for the Google Places API.
https://olefirenko.github.io/vue-google-autocomplete/
MIT License
507 stars 258 forks source link

Upgrade issue from 1.0.8 #106

Open kyoukhana opened 5 years ago

kyoukhana commented 5 years ago

I am trying to update vue-google-autocomplete from version 1.0.8 to the latest version but I am getting the following error when i type npm run build

Console Error

ERROR in ../~/buble-loader!../~/vue-loader/lib/selector.js?type=script&index=0!../~/vue-google-autocomplete/src/VueGoogleAutocomplete.vue
Module build failed: Error
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:2004:65)
    at /private/var/www/glopro/node_modules/buble/dist/buble.umd.js:9381:56
    at Array.forEach (<anonymous>)
    at Node.initialise (/private/var/www/gloprodqi/node_modules/buble/dist/buble.umd.js:9381:15)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:858:12)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:2098:31)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:858:12)
    at /private/var/www/glopro/node_modules/buble/dist/buble.umd.js:856:61
    at Array.forEach (<anonymous>)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:856:12)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:858:12)
    at /private/var/www/glopro/node_modules/buble/dist/buble.umd.js:856:61
    at Array.forEach (<anonymous>)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:856:12)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:858:12)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:1760:31)
    at /private/var/www/glopro/node_modules/buble/dist/buble.umd.js:9381:56
    at Array.forEach (<anonymous>)
    at Node.initialise (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:9381:15)
    at new Program (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:9682:14)
    at Object.transform (/private/var/www/glopro/node_modules/buble/dist/buble.umd.js:9867:11)
    at Object.BubleLoader (/private/var/www/glopro/node_modules/buble-loader/index.js:7:29)
 @ ../~/vue-google-autocomplete/src/VueGoogleAutocomplete.vue 3:2-105
 @ ./assets/js/app.js
 @ multi ./assets/js/app.js

Package.js

{
  "private": true,
  "dependencies": {
    "@websanova/vue-auth": "^2.11.0-beta",
    "axios": "^0.15.3",
    "babel-core": "^6.24.1",
    "babel-eslint": "^7.2.1",
    "babel-loader": "^6.4.1",
    "babel-plugin-transform-object-rest-spread": "^6.23.0",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-stage-2": "^6.24.1",
    "bootstrap-sass": "^3.3.7",
    "crypto-js": "^3.1.9-1",
    "css-loader": "^0.23.0",
    "dropzone": "^4.3.0",
    "file-loader": "^0.9.0",
    "gulp": "^3.9.1",
    "image-webpack-loader": "^3.3.0",
    "jimp": "^0.2.27",
    "jquery": "^3.1.0",
    "laravel-elixir": "^6.0.0-9",
    "laravel-elixir-vue-2": "^0.2.0",
    "laravel-elixir-webpack-official": "^1.0.2",
    "lodash": "^4.16.2",
    "material-design-lite": "^1.3.0",
    "path": "^0.12.7",
    "responsive-loader": "^0.7.0",
    "style-loader": "^0.13.0",
    "svg-url-loader": "^1.1.0",
    "uglify-js": "^2.8.29",
    "uglifyjs": "^2.4.11",
    "uglifyjs-webpack-plugin": "^2.0.1",
    "url-loader": "^0.5.8",
    "v-qrcode": "^1.0.3",
    "vee-validate": "^1.0.0-beta.10",
    "vue": "^2.2.6",
    "vue-axios": "^1.2.2",
    "vue-google-autocomplete": "^1.0.8",
    "vue-hot-reload-api": "^2.0.11",
    "vue-html-loader": "1.2.3",
    "vue-lazyload": "^1.0.6",
    "vue-loader": "^11.3.4",
    "vue-mdl": "^1.1.1",
    "vue-nprogress": "^0.1.5",
    "vue-progressbar": "^0.7.2",
    "vue-qrcode-component": "^2.1.1",
    "vue-resource": "^1.3.1",
    "vue-router": "^2.4.0",
    "vue-scrollto": "^2.7.2",
    "vue-strap": "^1.0.11",
    "vue-stripe-checkout": "0.0.4",
    "vue-style-loader": "^1.0.0",
    "vue-template-compiler": "^2.2.6",
    "vue2-dropzone": "^2.2.8",
    "vuelidate": "^0.2.0",
    "vuex": "^2.3.0",
    "webpack": "^2.3.3",
    "webpack-dev-server": "^1.16.1"
  },
  "devDependencies": {
    "autoprefixer-loader": "^3.2.0",
    "babel-preset-es2015": "^6.16.0",
    "image-webpack-loader": "^3.2.0",
    "srcset-loader": "^2.0.1"
  },
  "scripts": {
    "build": "webpack --config webpack.config.prod.js"
  }
}