dadata-suggestions icon indicating copy to clipboard operation
dadata-suggestions copied to clipboard

https.request is not a function

Open ismatech opened this issue 3 months ago • 0 comments

У меня проект на quasar v2.17 (vue 3 composition api + vite 2). Установил плагин, использую также как в документации, но вылезает такая ошибка: https.request is not a function.

Дело в том, что у нас в другом проекте используется этот плагин, но там vue 2 + webpack (не знаю, какой версии). И там работает без нареканий. Сделал всё по аналогии, но что-то не фурычит. Вот кусок package.json:

"dependencies": { "@quasar/extras": "^1.16.12", "apexcharts": "^4.0.0", "axios": "^1.7.7", "dadata-suggestions": "^1.1.1", "moment": "^2.30.1", "quasar": "^2.17.0", "vue": "^3.5.12", "vue-router": "^4.4.5", "vue3-apexcharts": "^1.7.0", "vuex": "^4.0.2", "vuex-persistedstate": "^4.1.0" }, "devDependencies": { "@json_vite_plugin/css_global": "^1.2.2", "@quasar/app-vite": "^1.9.0", "autoprefixer": "^10.4.2", "eslint": "^8.57.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-vue": "^9.0.0", "postcss": "^8.4.14", "prettier": "^2.5.1", "sass": "^1.80.3", "vite-plugin-checker": "^0.8.0" },

ismatech avatar Nov 11 '24 12:11 ismatech