angular
angular copied to clipboard
[BUG] Can't compile after upgrading to 6.0.0-rc.6
Environment
Please provide as many details as you can:
I am trying to upgrade from @formio/angular 5.3.0 to 6.0.0-rc.6. I am unable to compile my angular code after upgrading.
- Hosting type
- [ ] Form.io
- [x] Local deployment
- Version:
- Formio.js version: 6.0.0-rc.6
- Frontend framework: Angular 15
- Browser: Chrome
- Browser version:
Steps to Reproduce
- yarn add @formio/angular@rc @formio/js
- yarn start
Expected behavior
Install and upgrade to the latest @formio/angular and @formio/js version and be able to compile project.
Observed behavior
These errors:
./node_modules/dragula/dist/dragula.min.js:11:93-94 - Warning: Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
./node_modules/@formio/js/lib/mjs/components/datagrid/DataGrid.js:389:23-50 - Error: export 'Components' (imported as 'Components') was not found in '../Components' (possible exports: default)
./node_modules/@formio/js/lib/mjs/components/datamap/DataMap.js:234:18-51 - Error: export 'Components' (imported as 'Components') was not found in '../Components' (possible exports: default)