因?yàn)楸救嗽诠緦?shí)習(xí)糖赔,公司是證券類國企距贷,對網(wǎng)絡(luò)要求特別嚴(yán)格,用的無線網(wǎng)遵绰,配置代理服務(wù)器上的辽幌,所以在用npm安裝:cordova和ionic時(shí)候遇到特別多問題。如有需要可以參考本人其他文章椿访。
[原文連接]!([http://jasonwatmore.com/post/2014/04/02/Ionic-Framework-Getting-ionic-start-appName-Working-Behind-a-Proxy.aspx)
- 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.
本人親測乌企,使用這一個(gè)即可。
錯(cuò)誤提醒: