I am having problems with npm and node version 0.10.40. I have never had this problem before, and I am not involved in a proxy server. I tried other solutions that I found in Qaru and other forums, such as changing the registry URL to http: // .. instead of https: // .. and setting strict-ssl to false. When I do this, npm cannot parse JSON. Here is my npm-debug.log. Maybe someone can help me understand what is happening.
npm-debug.log
I solved this problem by issuing the following commands
npm config set proxy false npm cache clean
-, npm - , -. .
- ,
npm config set proxy http://xxx.xxx.xxx.x:8080npm config set https-proxy http://xxx.xxx.xxx.x:8080
-
: -
npm phantomJS/CasperJS - , casperjs phantomjs App_data C:/.
npm
phantomJS/CasperJS
casperjs
phantomjs
:
casperjs phantomjs PATH .
casperjs... .
Behind the proxy server, the corporate firewall also does not work. Try this to make it work.
http://www.sharepointconfig.com/2017/04/using-npm-behind-a-proxy-that-uses-ntlm-authentication/ http://www.sharepointconfig.com/2017/04/using-npm- behind-a-proxy-that-uses-ntlm-authentication /
Source: https://habr.com/ru/post/1608997/More articles:Entity Framework LINQ to SQL: how does it work? - c #UITextView content height is incorrect in iOS 9 - iosCould not install python mysqlclient on windows - djangoBinding a click event with AJAX-loaded content without delegating it? - javascriptPrint the quadratic equation with its coefficients. - javaPerl - Local :: lib does not constantly find the local path in @INC - conflict with perlbrew? - perlAuthentication in Angular: handling a new tab or new browser window - javascriptDate comparison does not work in some browsers - Javascript - javascriptHow to check open transactions on psycopg2 connection? - pythonDisallow encoding of existing HTML objects (convert & to but not to & amp;) - htmlAll Articles