Найдено 40 уязвимостей (7 слабых, 31 средняя, 1 высокая, 1 критическая)
Я получаю следующую ошибку при запуске npm uninstall... Может кто-нибудь, пожалуйста, помогите решить... Я сделал почти все, чтобы это исправить...
npm WARN react-star-rating-component@1.4.1 requires a peer of react@^16.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN The package detect-port is included as both a dev and production dependency.
audited 17423 packages in 20.551s
found 40 vulnerabilities (7 low, 31 moderate, 1 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
И когда я бегу npm audit
это дает мне следующее = ошибка
npm ERR! code ELOCKVERIFY
npm ERR! Errors were found in your package-lock.json, run npm install to fix them.
npm ERR! Invalid: lock file's detect-port@1.2.3 does not satisfy detect-port@1.0.1
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-06-25T12_13_53_712Z-debug.log
0 ответов
Попробуйте удалить зависимость от Dependencies и devDependencies из Dependencies и devDependencies в файле package.json, удалите его из node_modules, добавьте detect-port с версией и запустите npm install и npm audit fix. это решает мою проблему, но не с этим пакетом.