design-react-kit icon indicating copy to clipboard operation
design-react-kit copied to clipboard

[BUG] Release 5.1.0 export "Components" was not found in 'design-react-kit'

Open sabato-galasso opened this issue 1 year ago • 4 comments

Describe the bug Components not importable

To Reproduce Import an Component of the release 5.1.0

Expected behavior export 'Button' (imported as 'Button') was not found in 'design-react-kit'

Screenshots

Screenshot 2024-07-09 alle 17 47 15

sabato-galasso avatar Jul 09 '24 15:07 sabato-galasso

Workaround remove "type": "module" in packages.json

sabato-galasso avatar Jul 10 '24 08:07 sabato-galasso

I don't have this kind of problem with 5.1.0, have you tried putting "type": "module" in your package.json?

Virtute90 avatar Jul 10 '24 18:07 Virtute90

I don't have this kind of problem with 5.1.0, have you tried putting "type": "module" in your package.json?

yes, I have the same problem, are you sure that type:module is the expected behavior?

sabato-galasso avatar Jul 10 '24 18:07 sabato-galasso

@Lorezz wdyt of this issue? cc @astagi

Fupete avatar Jul 29 '24 10:07 Fupete

solved on create react app scaffold example

Lorezz avatar Nov 08 '24 10:11 Lorezz