component-template icon indicating copy to clipboard operation
component-template copied to clipboard

Update react-scripts to 5.0.0

Open Industrial opened this issue 3 years ago • 1 comments

Hi. You are currently using React Scripts 4.x.x. This is an old version.

When I update it to 5.x.x I get compile/type errors for Apache Arrow.

Please update react-scripts to 5.0.0.

Industrial avatar Feb 28 '22 13:02 Industrial

Any update on this I see the same issue when trying to use the latest version of react. Ive also updated to v 1.4.0 of the library, still no dice...

ERROR in ./node_modules/streamlit-component-lib/dist/ArrowTable.js 83:13-27 export 'Type' (imported as 'Type') was not found in 'apache-arrow' (module has no exports)

ERROR in ./node_modules/streamlit-component-lib/dist/ArrowTable.js 95:21-31 export 'Table' (imported as 'Table') was not found in 'apache-arrow' (module has no exports)

ERROR in ./node_modules/streamlit-component-lib/dist/ArrowTable.js 96:22-32 export 'Table' (imported as 'Table') was not found in 'apache-arrow' (module has no exports)

ERROR in ./node_modules/streamlit-component-lib/dist/ArrowTable.js 97:24-34 export 'Table' (imported as 'Table') was not found in 'apache-arrow' (module has no exports)

ERROR in ./node_modules/streamlit-component-lib/dist/ArrowTable.js 100:26-36 export 'Table' (imported as 'Table') was not found in 'apache-arrow' (module has no exports)

PvanHengel avatar Apr 26 '22 16:04 PvanHengel

+1 Please fix this issue.

changsin avatar Apr 12 '23 06:04 changsin

We released a new version of Streamlit Component Library v2.0 that addresses this issue Npm registry: https://www.npmjs.com/package/streamlit-component-lib Release notes: https://github.com/streamlit/streamlit/blob/develop/component-lib/RELEASE_NOTES.md

sfc-gh-kbregula avatar Aug 05 '23 22:08 sfc-gh-kbregula