mya-ake / vue-window-size

Provides reactivity window size properties for Vue.js
https://www.npmjs.com/package/vue-window-size
MIT License
122 stars 5 forks source link

Error: ERROR dependency was not found friendly-errors 15:44:49 * vue-window-size/option-api in ./mixins/global.js friendly-errors 15:44:49 friendly-errors 15:44:49 To install it, you can run: npm install --save vue-window-size/option-api #419

Closed acrolink closed 2 years ago

acrolink commented 2 years ago

I am getting this strange error:

ERROR  Failed to compile with 1 errors 
This dependency was not found:       
* vue-window-size/option-api in ./mixins/global.js                                                                  
To install it, you can run: npm install --save vue-window-size/option-api

I have installed using:

yarn add vue-window-size@0.6.2

Any idea how to resolve this issue? Thank you.

mya-ake commented 2 years ago

What kind of environment do you use? vue-cli? vite? And please tell me the Vue.js version.

mya-ake commented 2 years ago

I close this PR. If the problem persists, please create a new Issue again.