Skip to content

[BUG] Can't compile after upgrading to 6.0.0-rc.6 #1012

Open
@g8shen

Description

@g8shen

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
    • Local deployment
      • Version:
  • Formio.js version: 6.0.0-rc.6
  • Frontend framework: Angular 15
  • Browser: Chrome
  • Browser version:

Steps to Reproduce

  1. yarn add @formio/angular@rc @formio/js
  2. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions