fawmi / vue-google-maps

Reactive Vue 3 components for Google maps
https://vue-map.netlify.app
MIT License
196 stars 103 forks source link

Application crashes with this setup #210

Open seetpalsingh opened 5 months ago

seetpalsingh commented 5 months ago

Are you asking a question? I tried using this google plugin but, can even start with it.

setup details


import { createApp } from 'vue'
import VueGoogleMaps from '@fawmi/vue-google-maps'
import App from './App.vue'

const app = createApp(App)
app
    .use(VueGoogleMaps, {
        load: {
            key: 'YOUR_API_KEY_COMES_HERE'
        }
    })
    .mount('#app')

{
    "name": "frontend",
    "private": true,
    "version": "0.0.0",
    "type": "module",
    "scripts": {
        "dev": "vite",
        "build": "vue-tsc && vite build",
        "preview": "vite preview"
    },
    "dependencies": {
        "@phosphor-icons/vue": "^2.1.4",
        "@vuepic/vue-datepicker": "^8.2.0",
        "axios": "^1.4.0",
        "vue3-click-away": "^1.2.4",
        "@fawmi/vue-google-maps": "^0.9.79",
        "vue-router": "^4.2.4",
        "pinia": "^2.1.4",
        "vue": "^3.4.21"
    },
    "devDependencies": {
        "@types/node": "^20.4.1",
        "@vitejs/plugin-vue": "^5.0.4",
        "@vue/eslint-config-prettier": "^7.1.0",
        "prettier": "^3.0.0",
        "typescript": "^5.2.2",
        "sass": "^1.63.6",
        "sass-loader": "^13.3.2",
        "vite": "^5.2.0",
        "vue-tsc": "^2.0.6"
    }
}

Describe the bug This is what i get in browser

Uncaught SyntaxError: The requested module '/node_modules/fast-deep-equal/index.js?v=138554dc' does not provide an export named 'default' (at index.esm.js?v=138554dc:1:8)

abcRede commented 5 months ago

I'm having the same issue here.

felixranesberger commented 4 months ago

see: https://github.com/NathanAP/vue-google-maps-community-fork?tab=readme-ov-file#if-you-are-configuring-your-project-please-notice