0

Can someone help on the below error

npm install nightwatch --save 
ERR! code EPROTO 
npm ERR! errno EPROTO 
npm ERR! request to https://registry.npmjs.org/nightwatch failed, reason: write 
EPROTO 101057795:error:14077419:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert access denied:openssl\ssl\s23_clnt.c:802: 
npm ERR!
Rima S
  • 1
  • 1
  • 1
    Possible duplicate of [npm install failed EPROTO fetch request failed](https://stackoverflow.com/questions/47206374/npm-install-failed-eproto-fetch-request-failed) – Karol Dowbecki Mar 19 '18 at 09:12
  • 1
    When you ask question make sure you provide enough context on what you want to do and the things you have tried before. – jeandut Mar 19 '18 at 09:24

2 Answers2

0

You don't need that npm at the end? I've never seen that pattern.

Tetsuya3850
  • 947
  • 1
  • 7
  • 15
0

Instead of running npm install nightwatch --save npm for your npm installation, use npm install nightwatch --save. This should solve your problem

antzshrek
  • 9,276
  • 5
  • 26
  • 43