formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Can't compile after installing @formio/[email protected]

Open g8shen opened this issue 1 year ago • 2 comments

Hello,

I am trying to upgrade from @formio/angular 5.3.0 to 6.0.0-rc.6. Since 6.0.0-rc.6 depends on @formio/[email protected] I have also added it to my project dependencies. However now whenever I compile my project I receive these errors:

`./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)`

I am running this command in my terminal: yarn add @formio/angular@rc @formio/js

I have also tried removing node_modules and re-installing.

I am using yarn, any help would be greatly appreciated :)

g8shen avatar Oct 11 '23 22:10 g8shen

I don't know if this will help you but I fixed it by installing a newer version

npm i @formio/[email protected]

But if you install the latest (rc28) the problem is back. Weird

MiguiTE avatar Oct 16 '23 07:10 MiguiTE