Results 1 to 2 of 2

Thread: ext-gen with proxy

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    2

    Default ext-gen with proxy

    Hi,

    I have been trying to execute ext-gen behind a proxy but I don't find any way to do it.

    I have a http/https/socks proxy and on npm I know that or via configuration or by using the --proxy you can tell the executable (NPM) to use a proxy for the connections. As always I prefer to use the --proxy than changing the configuration file on npm... but neither works when I try ext-gen command (whatever).

    Any ideas?

    Thanks,
    Jesus

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    2

    Default

    I have resolved in two different ways. One complicated and the other very simple.

    Complicated one:
    You can download the extgen from github and edit (depending of the version) the install.js script or the ext-gen.js (depends of the version). Inside it search for where they use npm and send to them the params and add your proxy configuration.

    Simple one:
    Be smart and know your proxy (better than I) and put on the npm settings the correct URL or if it's only http or https the correct setting

    Thanks to all!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •