$ npm install --save --legacy-peer-deps or check the compatible versions in the npm page and install the one that suit best