question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ionic start don't work

See original GitHub issue

When i try to start a new project i get the following errror:

$ ionic start HybridDemo sideMenu
Running start task...
Creating Ionic app in folder /Users/xxx/Desktop/HybridDemo based on sideMenu project

DOWNLOADING: https://github.com/driftyco/ionic-app-base/archive/master.zip

DOWNLOADING: https://github.com/driftyco/ionic-starter-sideMenu/archive/master.zip
Initializing cordova project.
Fetching plugin "org.apache.cordova.device" via plugin registry
Error: failed to fetch the plugin archive
    at /usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:60:26
    at Request.cb [as _callback] (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/registry/registry.js:251:9)
    at self.callback (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:148:22)
    at Request.EventEmitter.emit (events.js:117:20)
    at ClientRequest.self.clientErrorHandler (/usr/local/lib/node_modules/cordova/node_modules/plugman/node_modules/request/index.js:257:10)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:440:14
    at process._tickCallback (node.js:415:13)
ERROR: Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (npm install -g cordova), removing this project folder, and trying again.
Exiting.

reproduced on OSX and windows 8. obiuvsly cordova and ionic are up-to date

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

11reactions
saamorimcommented, Nov 17, 2014

Hi, using set proxy=http://server:port before running the ionic cli worked

6reactions
mlynchcommented, Apr 28, 2014

Fixed! Try adding PROXY ahead of the command:

$ PROXY=http://myproxy.com:8081 ionic start myApp
Read more comments on GitHub >

github_iconTop Results From Across the Web

Start new ionic app with tab using cmd is not working
I'm trying to start my first ionic app. it says I should type in "ionic start myApp tabs". When I do that, it...
Read more >
Unable to create new Ionic app with @ionic/cli #4434 - GitHub
However running the ionic command (or just writing ionic) fails to run. So essentially the entire ionic cli is not working.
Read more >
Can't `ionic start` on windows 10
I have been working with Ionic since May with some build problems, but today when I tried to create a new starter project...
Read more >
Why does my previously successful build from (some time ago ...
You can check to ensure your local environment is updated to work in tandem with Ionic Appflow. Our KB has the most recent...
Read more >
The 9 Most Common Mistakes That Ionic Developers Make
Keep in mind, it does not work with all plugins. Cordova's plugins are meant to interact with the native device API through JavaScript....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found