ionic serve of IONIC 1 project, not working in ionic 4 cli

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

Today after launching of IONIC 4 Beta, I updated my IONIC CLI to 4.0.1. After as i was trying to serve one of my IONIC v1 project using

ionic serve command it was showing below error and warnings to me

ionic serve

ionic-v1 serve --host 0.0.0.0 --port 8100 --lr-port 35729 --dev-port 53703 [v1] 'ionic-v1' is not recognized as an internal or external command, [v1] operable program or batch file.

[INFO] Looks like @ionic/v1-toolkit isn't installed in this project.

   This package is required for ionic serve. For more details, please see the CHANGELOG:
   https://github.com/ionic-team/ionic-cli/blob/master/packages/ionic/CHANGELOG.md#4.0.0

[ERROR] A utility CLI has unexpectedly closed.

    The Ionic CLI will exit. Please check any output above for error details.
profilepic.png
manpreet 2 years ago

As suggested in warning [INFO] Looks like @ionic/v1-toolkit isn't installed in this project.

I tried to install @ionic/V1-toolkit using below command and i was able to use ionic serve for my IONIC V1 project from IONIC V4.0.1 CLI.

npm install @ionic/v1-toolkit -g

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community