error with NPM dependencies: peer dep missing

0

I have the following dilemma

/usr/local/lib
├── @angular/[email protected]
├── @angular/[email protected]
├── @ionic-native/[email protected]
├── @ionic-native/[email protected]
├── @ionic/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
  

npm ERR! peer dep missing: rxjs@^5.5.11, required by   @ ionic-native / core @ 4.18.0 npm ERR! peer dep missing: rxjs@^5.5.11,   required by @ ionic-native / device @ 4.18.0

I do not understand that error if I have [email protected] Why does that error come out?

    
asked by Impulso Like 23.12.2018 в 18:29
source

1 answer

0

According to this ReactiveX link, you must make a refactor of your Typescript code using rxjs-tslint .

  

npm i -g rxjs-tslint

     

rxjs-5-to-6-migrate -p [path/to/tsconfig.json]

    
answered by 25.12.2018 в 23:59