NPM Package Installation Problems

Asked

Viewed 632 times

0

I was installing the dependency Electron-Builder, but I cannot complete the installation. Whenever I try to run the command to install this dependency, nodejs returns me this error:

Erro: You must install peer dependecies your npm ajv-keywords@3.1.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies your self.

I am running the command in administrator mode and still the dependency is not installed. What can it be?

I’m using S.O. windows 10.

  • I was able to resolve it. Just delete the Node modules folder, manually insert the dependency into the package.json file, and run the npm i command.

  • 1

    Actually I think it was just a spin npm install ajv

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.