formio / angular

JSON powered forms for Angular
https://formio.github.io/angular-demo
MIT License
613 stars 461 forks source link

Angular 17 and FormIO runtime error #1054

Open pannirselvamm opened 2 months ago

pannirselvamm commented 2 months ago

This error message is generated when I run my simple angular which has only the code below

import { FormioModule } from '@formio/angular';

@Component({ standalone: true, imports: [NxWelcomeComponent, RouterModule,FormioModule ], selector: 'web-latest-root', templateUrl: './app.component.html', styleUrl: './app.component.scss', })

./node_modules/@formio/angular/fesm2022/formio-angular.mjs:3:0-60 - Error: Module not found: Error: Can't resolve 'formiojs'

\node_modules\@formio\angular\fesm2022'

I am using npx create-nx-workspace to create my angular project. Tested with angular 17 and 16. Same error.

Amir-MP commented 2 months ago

i think you should install formiojs aswell , formiojs is dependency

rohidaskakad commented 1 month ago

I think , angular ivy doesn't support angular formio