Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-cropperjs won't install with Vue 2.1.0 because of rigid peer dependency #22

Closed
hawkeye64 opened this issue Jun 18, 2017 · 1 comment

Comments

@hawkeye64
Copy link

 :~$ npm install --save vue-cropperjs
 /home/myName
 ├── UNMET PEER DEPENDENCY vue@>=2.0.0
 └─┬ vue-cropperjs@2.1.1 
   └── cropperjs@0.8.1 
 
 npm WARN vue-cropperjs@2.1.1 requires a peer of vue@>=2.0.0 but none was installed.

I have Vue 2.1.0 installed:

"raw": "vue@^2.1.0",

In your package.json can you change this:

   "peerDependencies": {
     "vue": ">=2.0.0"
   },

to this:

   "peerDependencies": {
     "vue": ">=^2.0.0"
   },
@hawkeye64
Copy link
Author

Just close this. It works as expected. I was in the wrong directory. Silly mistake. :(

@Agontuk Agontuk closed this as completed Jun 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants