formio.js
formio.js copied to clipboard
Can't compile after installing @formio/[email protected]
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 :)
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