Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Switching Ionic CLI between 1.x and 2.x back and forth

$
0
0

DId not work for me.

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: v5.3.0

Getting

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

In the folder that gets created i see no plugins folder and ionic.project file

the same happens with
ionic start cutePuppyPics1 --v1 command

can you let me know??


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>