GuillaumeLeclerc / vue-google-maps

Google maps component for vue with 2-way data binding
561 stars 654 forks source link

UNMET PEER DEPENDENCY #128

Open rzb opened 7 years ago

rzb commented 7 years ago

I'm on vue 2.2.4. Running npm install vue-google-maps --save-dev brings up:

npm WARN vue-google-maps@0.1.21 requires a peer of vue@^1.0.0 but none was installed.
npm WARN vue-google-maps@0.1.21 requires a peer of q@^1.4.1 but none was installed.
Tinoooo commented 7 years ago

If you want to use vue-google-maps with Vue 2 you should use vue2-google-maps.

rzb commented 7 years ago

@Tinoooo are you referring to this 1 star repo or is there a more popular one elsewhere?

Tinoooo commented 7 years ago

@rzb I'm not quite sure. There are different forks. See https://github.com/GuillaumeLeclerc/vue-google-maps/issues/119

pjavanjal commented 7 years ago

Vue-google-map and Vue2-google-map not working with NUXT "UNMET PEER DEPENDENCY" error got at the time of installation

Nuxt.js Error: ReferenceError: window is not defined at Object. (/vue-google-maps/index.js:1:6551) at e (/vue-google-maps/index.js:1:321) at Object. (/vue-google-maps/index.js:1:689) at e (/vue-google-maps/index.js:1:321) at t.__esModule.default (/vue-google-maps/index.js:1:394) at 6.server-bundle.js:4024:382 at exports.modules.917.r.(anonymous function).exports (/vue-google-maps/index.js:1:15) at Object.917 (~/vue-google-maps/index.js:1:204) at webpack_require (webpack:/webpack/bootstrap 42a7e2d4e5d34af8ad2b:25:0) at Object.349 (6.server-bundle.js:310:74)

xkjyeah commented 7 years ago

https://github.com/xkjyeah/vue-google-maps/blob/vue2/API.md#-getting-started-with-nuxtjs

On Thu, Jun 15, 2017 at 10:23 PM, Praful Javanjal notifications@github.com wrote:

Vue-google-map and Vue2-google-map not working with NUXT

Nuxt.js Error: ReferenceError: window is not defined at Object. (/vue-google-maps/index.js:1:6551) at e (/vue-google-maps/index.js:1:321) at Object. (/vue-google-maps/index.js:1:689) at e (/vue-google-maps/index.js:1:321) at t.__esModule.default (/vue-google-maps/index.js:1:394) at 6.server-bundle.js:4024:382 at exports.modules.917.r.(anonymous function).exports (/vue-google-maps/index.js:1:15) at Object.917 (~/vue-google-maps/index.js:1:204) at webpack_require (webpack:/webpack/bootstrap 42a7e2d4e5d34af8ad2b:25:0) at Object.349 (6.server-bundle.js:310:74)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GuillaumeLeclerc/vue-google-maps/issues/128#issuecomment-308748774, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiTR9OsECl0hp6QlQHacTfxJrHs5w9Fks5sET5HgaJpZM4M4XCd .