How to configure a proxy with username and password in ionic?

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):


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@"  

Error Evidence:

> 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

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
at ClientRequest.req.once.res
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?