Unable to command 'ionic start'

Here’s error log.

I don’t know why this error occurs. There was no problem of creating new project with ‘start’ command last week.

D:\workspace>ionic start testApp
Creating Ionic app in folder D:\workspace\testApp based on tabs project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error updating config.xml file: Error: ENOENT, no such file or directory 'D:\workspace\testApp\config.xml'

    There was an error finalizing the package.json file. { [Error: Cannot find module 'D:\workspace\testApp\package.json'] code: 'MODULE_NOT_FOUND' }

 ✗ Unable to save settings file: Error: ENOENT, no such file or directory 'D:\workspace\testApp\ioni
c.project'

Your Ionic project is ready to go! Some quick tips:

 * cd into your project: $ cd testApp

 * Setup this project to use Sass: ionic setup sass

 * Develop in the browser with live reload: ionic serve

 * Add a platform (ios or Android): ionic platform add ios [android]
   Note: iOS development requires OS X currently
   See the Android Platform Guide for full Android installation instructions:
   https://cordova.apache.org/docs/en/edge/guide_platforms_android_index.md.html

 * Build your app: ionic build <PLATFORM>

 * Simulate your app: ionic emulate <PLATFORM>

 * Run your app on a device: ionic run <PLATFORM>

 * Package an app using Ionic package service: ionic package <MODE> <PLATFORM>

For more help use ionic --help or ionic docs

Visit the Ionic docs: http://ionicframework.com/docs


New! Add push notifications to your Ionic app with Ionic Push (alpha)!
https://apps.ionic.io/signup
An uncaught exception occured and has been reported to Ionic



**Cannot read property 'statusCode' of undefined (CLI v1.5.0)**

Your system information:

Cordova CLI: 5.1.1
Gulp version:  CLI version 3.8.11
Gulp local:
Ionic CLI Version: 1.5.0
Ionic App Lib Version: 0.1.0
OS: Windows 7 SP1
Node Version: v0.10.38

Help me out. Thanks.

Regards,
Sunjoong Kim

I am facing the exact same issue on my laptop. It was working fine earlier, but it suddenly stopped working. I tried reinstalling everything and disabling anti-virus and firewall, but in vain.

F:\projects>ionic start myapp sidemenu
Creating Ionic app in folder F:\projects\myapp based on sidemenu project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error updating config.xml file: Error: ENOENT, no such file or directory 'F:\pro
jects\myapp\config.xml'
There was an error finalizing the package.json file. { [Error: Cannot find modul
e 'F:\projects\myapp\package.json'] code: 'MODULE_NOT_FOUND' }
 ? Unable to save settings file: Error: ENOENT, no such file or directory 'F:\pr
ojects\myapp\ionic.project'

Your Ionic project is ready to go! Some quick tips:

 * cd into your project: $ cd myapp

 * Setup this project to use Sass: ionic setup sass

 * Develop in the browser with live reload: ionic serve

 * Add a platform (ios or Android): ionic platform add ios [android]
   Note

Visit the Ionic docs: http://ionicframework.com/docs

New! Add push notifications to your Ionic app with Ionic Push (alpha)!
https://apps.ionic.io/signup
An uncaught exception occured and has been reported to Ionic

Cannot read property 'statusCode' of undefined (CLI v1.5.0)

Your system information:

Cordova CLI: 5.1.1
Ionic CLI Version: 1.5.0
Ionic App Lib Version: 0.1.0
OS: Windows 8.1
Node Version: v0.12.4

Hmm would you be able to post an issue for this on the cli page?

I have the same problem

F:>ionic start dev blank
Creating Ionic app in folder F:\dev based on blank project
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Error updating config.xml file: Error: ENOENT, no such file or directory 'F:\dev\config.xml’
There was an error finalizing the package.json file. { [Error: Cannot find module ‘F:\dev\package.json’] code: ‘MODULE_NOT_FOUND’ }
✗ Unable to save settings file: Error: ENOENT, no such file or directory ‘F:\dev\ionic.project’

Hi Sunjoong

I am exactly facing the same problem…
but when i try to keep going until i run in emulator…it doesn’t affect anything

it still running in emulator

do you already know the root cause of the problem ? if it so please kindly email me at adityaridharrahman@gmail.com

Thanks before and sorry for my bad english