# Ionic generate issue

**URL:** <https://forum.ionicframework.com/t/ionic-generate-issue/218339>\
**Category:** Ionic Angular\
**Created:** [December 13, 2021, 4:22pm UTC](https://forum.ionicframework.com/t/ionic-generate-issue/218339 "2021-12-13T16:22:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![umerf6455](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/umerf6455/32/147397_2.png) [@umerf6455](https://forum.ionicframework.com/u/umerf6455)\
**Post date:** [December 13, 2021, 4:22pm UTC](https://forum.ionicframework.com/t/ionic-generate-issue/218339/1 "2021-12-13T16:22:25Z")

</div>

Hello ionic fellows,

So I recently upgraded ionic 5 project to ionic 6. All good with that but I’m facing errors while generating new page. I don’t know what’s wrong. Please help ☹

**An unhandled exception occurred: NOT SUPPORTED: keyword “id”, use “$id” for schema ID**

**See “/private/var/folders/0y/qgjp13zd0jg\_dng31jdgx\_rw0000gn/T/ng-V84xMS/angular-errors.log” for further details.**

 ![Screenshot 2021-12-13 at 9.20.26 PM](https://global.discourse-cdn.com/ionicframework/original/3X/5/7/573fbdd591cbf3d80e74dbd87f2282f7ea70165a.png)

@sufian4199  
Happy coding,  
Cheers!

---

<div class="post-metadata">

**Author:** ![esery1](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@esery1](https://forum.ionicframework.com/u/esery1)\
**Post date:** [December 14, 2021, 10:07am UTC](https://forum.ionicframework.com/t/ionic-generate-issue/218339/2 "2021-12-14T10:07:08Z")

</div>

Try like this. ng does not have page schema.

```auto
ionic g page modals/dateModal

```

---

<div class="post-metadata">

**Author:** ![umerf6455](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/umerf6455/32/147397_2.png) [@umerf6455](https://forum.ionicframework.com/u/umerf6455)\
**Post date:** [December 14, 2021, 12:56pm UTC](https://forum.ionicframework.com/t/ionic-generate-issue/218339/3 "2021-12-14T12:56:46Z")

</div>

That’s the exact command I tried. Sorry I didn’t added that in actual post.
