20311

Error starting ionic project

Question:

I have installed <em>Node.js</em> to start with an <em>ionic</em> project. I have also installed <em>ionic</em> and <em>cordova</em> using the commands below:

npm install ionic -g npm install cordova -g

I am using the command below to create an <em>ionic</em> project:

ionic start myApp blank

And i m getting the following error:

D:\IonicWork>ionic start myApp blank Creating Ionic app in folder D:\IonicWork\myApp based on blank project Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip Error with start Error: connect ETIMEDOUT 192.30.253.121:443 at Object.exports._errnoException (util.js:1036:11) at exports._exceptionWithHostPort (util.js:1059:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14) Error Initializing app: Error: connect ETIMEDOUT 192.30.253.121:443 Error: connect ETIMEDOUT 192.30.253.121:443 at Object.exports._errnoException (util.js:1036:11) at exports._exceptionWithHostPort (util.js:1059:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14) Caught exception: Error: connect ETIMEDOUT 192.30.253.121:443 at Object.exports._errnoException (util.js:1036:11) at exports._exceptionWithHostPort (util.js:1059:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)

Mind letting us know? <a href="https://github.com/driftyco/ionic-cli/issues" rel="nofollow">https://github.com/driftyco/ionic-cli/issues</a>

Please suggest.

Thanks, Malini

Answer1:

If you are on a company network, you are most probably behind a corporate web proxy. There are plenty of solution out there.

For a headstart, you need to add http_proxy and https_proxy environment variables based on the proxy you got from your company IT department.

Open your node command prompt in administrator mode and run following command. After that, close and restart your node command prompt and try to run ionic start again.

npm config set proxy http://proxy.company.com:8080 npm config set https-proxy http://proxy.company.com:8080

Answer2:

Better to start in ionic creator.and its the better place for design also

Recommend

  • IONIC CLI could not add Platform Android
  • Algorithm 3d orbiting camera control with mouse drag
  • How do I get the Last Insert Id from a JayData transaction?
  • How to stop the swipe event in jQTouch whilst a slide transition is occuring?
  • Wordpress plugins it asks for FTP Details
  • Xamarin.iOS Status Bar Disappears When Changing Its Text Color
  • Hyperledger fabric's ChannelCreationPolicy
  • How to get Attachment value from “$File” Item? using C# (Lotus Notes)
  • How to create 2 svg's on one page?
  • Ellipsis directive with title
  • AppEngine Paypal integration giving SSLCertificateError on localhost, using Python
  • Windows 8 Flexboxes - Nesting Flexboxes with overflow enabled
  • device tree overlay phandle
  • Adding custom message on Thank You page by shipping method
  • How exactly do you use json_decode to pass a javascript array to php?
  • Override all shipping costs for a specific shipping class in Woocommerce
  • Git for windows has stopped working
  • Complex multiple if statements
  • if you have a DLL creating a bitmap in memory, how to return it to the browser?
  • Use awk to convert GPS Position to Latitude & Longitude
  • Creating http response as a return value for mockito
  • Unable to connect to Azure MySQL Database through Azure Function - C#
  • How to search for a method or variable name within android project?
  • SpringBoot don't replacen System variable {user.home} in Spring Tool Suite Version: 3.8.4.RELEA
  • How can I do case insensitive string search with Linq and SQL Server?
  • Php artisan optimize is failing on production server
  • UIScrollView does not restore properly
  • Why do you need 2 Javascript files for cross-platform Cordova plugin?
  • “Cannot open log for source” - Windows 7 - .NET web service - event log
  • Regex not working in java 1.5
  • Django, uWSGI & nginx: Process dies for “no reason”
  • Conflicting declaration using constexpr and auto in C++11
  • Unable to create Access token grant type in wso2 API manager store to test API
  • Python 3x- Compression Makes File Bigger :(
  • how to run ejabberd with Erlang on Heroku?
  • How to encrypt Connectionstring written in web.config from codebehind?
  • Python Flask - GUI for client
  • How to call different template for different category archive page in woocommerce