Для установки начальной загрузки ngx нужна помощь, чтобы понять, в чем ошибка

Я запускаю команду установки для ngx-bootstrap npm install ngx-bootstrap --save, но получаю следующие ошибки

npm ERR! request to https://registry.npmjs.org/ngx-bootstrap failed, reason: Hostname/IP doesn't match certificate's altnames: "Host: registry.npmjs.org. is not in the cert's altnames: DNS:a.sni.fastly.net, DNS:a.sni.global-ssl.fastly.net

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user1\AppData\Roaming\npm-cache\_logs\2018-09-01T13_52_56_500Z-debug.log

Я хотел бы знать, в чем может быть проблема


person Sai    schedule 01.09.2018    source источник
comment
Возможный дубликат stackoverflow.com/questions/52128212/   -  person Jonathan Hamel    schedule 01.09.2018


Ответы (1)


запустить npm config set strict-ssl false
и повторно запустить npm install ngx-bootstrap --save

person Ayoub k    schedule 01.09.2018