I'm having problems when a import a project (aws-iot-device-sdk) -- UNMET PEER DEPENDENCY rxjs@5.0.0-beta.12

Hi, i wanna import an ionic project of my job to see some things of a certain API, so i do the git clone of the project and i’m trying to execute on my own machine, but when i do the npm install all the packages fails and i’m trying to do reinstall of all of them, but i have problems with a certain import and i dont know how to fix it.

The plugin is this: aws-iot-device-sdk

and i’m trying of reinstall and gave me this error. The project it isn’t mine

npm install aws-iot-device-sdk

In global service.ts:

import { DeviceOptions } from "aws-iot-device-sdk";

@Injectable()
export class GlobalService {

    private senderID: string = "210993439728"; // Sender ID of FCM
    private awsDeviceOptions: DeviceOptions = { //AWS Config
        clientId: "someap",
        host: "host",
        protocol: "wss",
        accessKeyId: XXX",
        secretKey: "XXX",
        debug: false
    };
  1. Post ionic info
  2. Post the error you get when you install.
  3. Post a link to the project.

cli packages: (C:\path\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 7.0.1

local packages:

@ionic/app-scripts : 1.1.0
Cordova Platforms  : none
Ionic Framework    : ionic-angular 2.0.1

System:

Node : v6.10.3
npm  : 3.10.10
OS   : Windows 10

When i do npm install i have to reinstall all the plugins.

I have errors with this plugin:

import { device } from "aws-iot-device-sdk";

    private deviceAws: device = new device(this.globalService.getAWS_DeviceOptions());

The error is cannot find name device

There are problems if i have the new CLI and the project is mounted on IONIC 2?

I never executed an old version of ionic before, only > 3

Please post the error you get when you run npm install.
Please also post the exact errors your get when running the project.