你好,我正在使用Ionic,我想使用命令安装ionic
ionic start --v myapp tabs
但是我收到错误
Creating Ionic app in folder C:UsersAhmadmyapp based on tabs project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
Error with start Error: tunneling socket could not be established, statusCode=30
2
at ClientRequest.onConnect (C:UsersAhmadAppDataRoamingnpmnode_modules
ionicnode_modulesionic-app-libnode_modulesrequestnode_modulestunnel-agent
index.js:165:19)
at ClientRequest.g (events.js:260:16)
at emitThree (events.js:97:13)
at ClientRequest.emit (events.js:175:7)
at Socket.socketOnData (_http_client.js:352:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:536:20)
Error Initializing app: Error: tunneling socket could not be established, status
Code=302
Error: tunneling socket could not be established, statusCode=302
at ClientRequest.onConnect (C:UsersAhmadAppDataRoamingnpmnode_modules
ionicnode_modulesionic-app-libnode_modulesrequestnode_modulestunnel-agent
index.js:165:19)
at ClientRequest.g (events.js:260:16)
at emitThree (events.js:97:13)
at ClientRequest.emit (events.js:175:7)
at Socket.socketOnData (_http_client.js:352:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:536:20)
我做了研发,但没有得到有用的解决方案如何解决这个问题。
我解决了这个问题。我正在使用窗口 8 .我只是发现
环境变量https_proxy
并删除此变量,则问题是
解决