@giulianetti wrote:
I am trying to configure the Ionic proxy to download projects here in the company but something is wrong.
At npm the proxy is set up and works fine (see
.npmrc
file):proxy=http://DOMAIN%5CUSER:00000%5FAAA@11.111.111.111:8080
As you can see the proxy has username and password and works perfectly, all dependencies are being downloaded.
When I configure the ionic
config.json
file as below, it returns me a connection error.{ "version": "5.4.5", "telemetry": true, "npmClient": "npm", "tokens.telemetry": "40adsfasd-cff7-4dfsf-a760-5asdfasdbsdaf", "proxy": "http://DOMAIN%5CUSER:00000%5FAAA@11.111.111.111:8080" }
Error Evidence:
C:\Temp\angular > ionic start testeapp blank Pick a framework! Please select the JavaScript framework to use for your new app. To bypass this prompt next time, supply a value for the --type option. ? Framework: Angular √ Preparing directory .\testeapp - done! - Downloading and extracting blank starter (45.40%) Error: Encountered bad status code (407) for https://d2ql0qc7j8u4b2.cloudfront.net/angular-official-blank.tar.gz This could mean the server is experiencing difficulties right now--please try again later. at Request.req.on.res (C:\Users\USUARIO\AppData\Roaming\npm\node_modules\ionic\lib\utils\http.js:64:24) at Request.emit (events.js:189:13) at Request._emitResponse (C:\Users\USUARIO\AppData\Roaming\npm\node_modules\ionic\node_modules\superagent\lib\node\index.js:862:8) at ClientRequest.req.once.res (C:\Users\USUARIO\AppData\Roaming\npm\node_modules\ionic\node_modules\superagent\lib\node\index.js:412:10) at Object.onceWrapper (events.js:277:13) at ClientRequest.emit (events.js:194:15) at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21) at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) at Socket.socketOnData (_http_client.js:442:20) / Downloading and extracting blank starter (45.40%)
Can someone help me?
Posts: 1
Participants: 1