[Error Reporting] NPM ERR ! CODE EINTEGRITY ADONIS

Chalid Ade Rahman
2 min readAug 22, 2020

--

Photo by Caspar Camille Rubin on Unsplash

I wanna install Adonis, I do step by step on website adonis like below :

  • I check system requirement and make sure my laptop can handle it
  • I have installed node js on my laptop
  • Open command prompt then i type npm i -g @adonisjs/cli and i get error message like below
NPM ERR CODE EINTEGRITY
  • I skip it, then try install by git clone. I type on command prompt git clone --dissociate https://github.com/adonisjs/adonis-api-app it’s work.
  • But when i try to install all dependencies by running npm install. I got error like below.
npm ERR : Unexpected end of JSON input while parsing near ‘…:^&”, “gulp-format-md’

How I Solve This

I solve this with simple step. Open command prompt. then type

npm cache clean --force
npm install -g @angular/cli

Foila, it’s work.

success install -g @angular/cli

--

--

Chalid Ade Rahman
Chalid Ade Rahman

Written by Chalid Ade Rahman

PHP Programmer | PT Electronic Data Interchange Indonesia | Question : chalidade@gmail.com

No responses yet