ERROR Sorry! ion delivery can only be done in the ion project catalog

I am using ionic project 1. After updating the cordova, I get the message "[ERROR] Sorry, ionic feed can only be started in the" Ionic project "directory, error message in ionic project 1. When I try to create a new ionic project using" ionic launch myApp tabs, "he will build me a new project and its ionic 2. How can I go back to ionic 1 and start my old project?

+4
source share
3 answers

I also have some problem when I updated ionic / cordova and created my first application with ionic 3, after which I can not start my old application with ionic 1. Below are the steps that I took to start my application with ionic 1

1. Return to the newly created project (with Ionic 3. *) and open package.json

2. There should be a line like "@ ionic / cli-plugin-ionic-angular"

3.Copy this line for package.json of your Ionic v1 project (in the V2 application there may be other plugins starting with cli-plugin - .., and you can also move them)

4. Change ion angular to ion 1, like this "ion / cli-plug-ion"

5. Run npm install in the project folder v1

6. Register the ionic.project file in the ionic.config.json file

7. Then try ion flow

hope your v1 application will be launched

+5

ERROR ! Ionic, , "www" . "www", .

, --type ionic1 , , Ionic 1, .

: ionic start myApp tabs --type ionic1

v1. : https://github.com/driftyco/ionic-cli/blob/master/README.md#ionic-1

+2

, . reset -

0

Source: https://habr.com/ru/post/1677526/


All Articles