局域网代理环境下Ionic新建App的方法

因为本人在公司实习,公司是证券类国企,对网络要求特别严格,用的无线网,配置代理服务器上的,所以在用npm安装:cordova和ionic时候遇到特别多问题。如有需要可以参考本人其他文章。
[原文连接]!([http://jasonwatmore.com/post/2014/04/02/Ionic-Framework-Getting-ionic-start-appName-Working-Behind-a-Proxy.aspx)

  1. Add the proxy url to request.js** located at 'C:\Users[username]\AppData\Roaming\npm\node_modules\ionic\node_modules\request\request.js'. Here's the update including the lines just before and after so you can find where to put it.
    本人亲测,使用这一个即可。

错误提醒:


局域网代理环境下Ionic新建App的方法_第1张图片
Paste_Image.png

你可能感兴趣的:(局域网代理环境下Ionic新建App的方法)