Ionic 2: Couldn't find ionic.project file. Are you in an Ionic project? (CLI v2.0.0-beta.15)

Trying to create ionic1 apps with ionic2 CLI, i did the following,

ionic start cutePuppyPics1

and i get this:–>

One awesome Ionic app coming right up...

Creating Ionic app in folder C:\wamp\www\IONIC 2\cutePuppyPics1 based on tabs pr
oject
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip
[=============================]  100%  0.0s

Adding initial native plugins
[=============================]  100%  0.0s
{ [Error: Command failed: C:\Windows\system32\cmd.exe /s /c "ionic plugin add co
rdova-plugin-device && ionic plugin add cordova-plugin-console && ionic plugin a
dd cordova-plugin-whitelist && ionic plugin add cordova-plugin-splashscreen && i
onic plugin add cordova-plugin-statusbar && ionic plugin add cordova-plugin-stat
usbar && ionic plugin add ionic-plugin-keyboard"

Couldn't find ionic.project file. Are you in an Ionic project? (CLI v2.0.0-beta.15)

]
  killed: false,
  code: 1,
  signal: null,
  cmd: 'C:\\Windows\\system32\\cmd.exe /s /c "ionic plugin add cordova-plugin-de
vice && ionic plugin add cordova-plugin-console && ionic plugin add cordova-plug
in-whitelist && ionic plugin add cordova-plugin-splashscreen && ionic plugin add
 cordova-plugin-statusbar && ionic plugin add cordova-plugin-statusbar && ionic
plugin add ionic-plugin-keyboard"' } '\n\u001b[1m\u001b[31mCouldn\'t find ionic.
project file. Are you in an Ionic project?\u001b[39m\u001b[22m\u001b[1m\u001b[31
m (CLI v2.0.0-beta.15)\u001b[39m\u001b[22m\n\n'

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: (CLI v
2.0.0-beta.15)

Your system information:

Cordova CLI: 5.4.1
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Version: 1.2.1
Ionic CLI Version: 2.0.0-beta.15
Ionic App Lib Version: 2.0.0-beta.8
OS: Windows 7
Node Version: v4.2.4

While doing Ionic serve i get this->

Couldn't find ionic.project file. Are you in an Ionic project? (CLI v2.0.0-beta.
15)

i see no plugins folder in the application that is created also i see no ionic.project file

How to solve this?

2 Likes

I’m also seeing this problem since I did npm install -g ionic@beta

@prantikv, didn’t you already ask this over here ?

And you also said that this was solved.