Reputation: 419
I have external proxy IP Address (222.22.22.222)
and with port 8888 and I'm trying to run npm I command from terminal it's saying error:
0909006c : PEM routines:get name:no start line.
I have set npm config proxy,http-proxy,https-proxy and registry with proxy ip and port with authentication.
npm config set registry http://registry.npmjs.org
npm config set proxy http://username:password@proxyipadd:port
npm config set https-proxy http://username:password@proxyipadd:port
npm config set http-proxy http://username:password@proxyipadd:port
Can any one please suggest me what I'm missing here?
Also I have to use system credentials right for authentication and also my password contains @ so I used percentage symbol and 40.
This is the error im getting on error log file
3401 verbose stack Error: error:0909006C:PEM routines:get_name:no start line
3401 verbose stack at Object.createSecureContext (_tls_common.js:156:17)
3401 verbose stack at Object.connect (_tls_wrap.js:1130:48)
3401 verbose stack at ondata (C:\nodejs\node-v10.16.3\node_modules\npm\node_modules\https-proxy-agent\index.js:154:20)
3401 verbose stack at Socket.read (C:\nodejs\node-v10.16.3\node_modules\npm\node_modules\https-proxy-agent\index.js:89:12)
3401 verbose stack at Object.onceWrapper (events.js:286:20)
3401 verbose stack at Socket.emit (events.js:198:13)
3401 verbose stack at emitReadable_ (_stream_readable.js:554:12)
3401 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19)
3402 verbose cwd C:\Users\project
3403 verbose Windows_NT 10.0.15063
3404 verbose argv "C:\\nodejs\\node-v10.16.3\\node.exe" "C:\\nodejs\\node-v10.16.3\\node_modules\\npm\\bin\\npm-cli.js" "i"
3405 verbose node v10.16.3
3406 verbose npm v6.9.0
3407 error error:0909006C:PEM routines:get_name:no start line
3408 verbose exit [ 1, true ]
Upvotes: 0
Views: 1296
Reputation: 774
you can set proxy like this npm config set https-proxy http://20.22.20.22:8080
replace your IP address and Port
Upvotes: 2