formio / formio.js

JavaScript powered Forms with JSON Form Builder

Home Page:https://formio.github.io/formio.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile after installing @formio/js@5.0.0-rc.23

g8shen opened this issue · 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/js@5.0.0-rc.23 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/js@5.0.0-rc.27

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