Using npm in version
6.0.0, when trying to install Rocketchat JS SDK I have this error:
npm install @rocket.chat/sdk --save + @email@example.com updated 1 package in 3.149s [!] 40 vulnerabilities found [534 packages audited] Severity: 22 low | 4 moderate | 14 high Run `npm audit` for more detail
npm audit and update the suggested packages still having this problem:
> node ./bin/install.js husky setting up Git hooks done > node postinstall added 663 packages from 1196 contributors in 7.71s [!] 2 vulnerabilities found [3025 packages audited] Severity: 2 low Run `npm audit` for more detail
So the solution was just to downgrade the npm version to
5.6.0 and everything works fine. This link have an explanation.