Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mstdmstd's avatar

ERROR : [email protected] requires a peer of ajv@^6.0.0 but none is installed

Hello!

I tried to install by command :

npm install vue-localstorage --save

as it is written at https://github.com/pinguinjkeke/vue-local-storage

but I got a message in console :

npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.

and now even after I removed a package I got error :

$ npm install
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.

npm ERR! path /mnt/_work_sdb8/wwwroot/lar/ArtistsRating/node_modules/.node-sass.DELETE/vendor/linux-x64-64
npm ERR! code ENOTEMPTY
npm ERR! errno -39
npm ERR! syscall rmdir
npm ERR! ENOTEMPTY: directory not empty, rmdir '/mnt/_work_sdb8/wwwroot/lar/ArtistsRating/node_modules/.node-sass.DELETE/vendor/linux-x64-64'

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/serge/.npm/_logs/2018-06-27T04_48_31_252Z-debug.log

and in the file /home/serge/.npm/_logs/2018-06-27T04_48_31_252Z-debug.log above there is the same error :

24655 warn [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must ```
install peer dependencies yourself.

I am not sure if that was error related with vue-localstorage, but how to fix it ?

$ lsb_release -d; uname -r; uname -i Description: Ubuntu 18.04 LTS 4.15.0-23-generic x86_64

$ nodejs --version v10.5.0

$ npm --version 6.1.0

$ php artisan --version Laravel Framework 5.6.26


Thanks!

0 likes
0 replies

Please or to participate in this conversation.