Introducing ionic-angular into ionic to report error

1. When you are going to jump with Navgation in ionic, you will find that there is no reference to ionic-angular, and then you will make a mistake if you refer to it yourself.
2, Environment:

    ionic --  4.5.0
    cordova --  8.1.2
    npm --  6.4.1

3. Create project command:

    ionic start myDemo01 tabs

create news interface:

    ionic g components/news page

Import Navigation into tab1.page.ts in tab1 and prepare to jump with Nav. Command:

    import { Page,NavController,NavParams } from "ionic-angular";

4, and then report an error after import

All imports in import declaration are unused.ts(6192)
Cannot find module "ionic-angular".ts(2307)




    
Mar.10,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31f2d-2bddd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31f2d-2bddd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?