Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] GeoArrow demo not working #2491

Merged
merged 3 commits into from Dec 21, 2023

Conversation

lixun910
Copy link
Collaborator

The new GeoArrow sample seems not working on kepler.gl site. From the log, it seems different apache-arrow modules have been used and caused the error. This PR tries to fix this.

Screenshot 2023-12-20 at 4 14 16 PM Screenshot 2023-12-20 at 4 14 59 PM

Signed-off-by: Xun Li <lixun910@gmail.com>
@lixun910
Copy link
Collaborator Author

OK. This PR fixes the issue. It's working on staging now: https://deploy-preview-2491--keplergl.netlify.app/demo/nyc_earnings

@@ -83,8 +83,6 @@ function makeLocalDevConfig(env, EXAMPLE_DIR = LIB_DIR, externals = {}) {
externals['loaders.gl'].forEach(mdl => {
resolveAlias[`@loaders.gl/${mdl}`] = `${EXTERNAL_LOADERS_SRC}/modules/${mdl}/src`;
});
// kepler.gl and loaders.gl need to use same apache-arrow
resolveAlias['apache-arrow'] = resolve(__dirname, '../node_modules/apache-arrow');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So package.json "resolutions" are not enough?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Ib! good point. Let me try it quickly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested it: seems package.json "resolutions" are not enough.

Signed-off-by: Xun Li <lixun910@gmail.com>
Signed-off-by: Xun Li <lixun910@gmail.com>
@lixun910 lixun910 merged commit de8cb97 into keplergl:master Dec 21, 2023
7 checks passed
@lixun910 lixun910 deleted the xli/fix-geoarrow-demo branch December 21, 2023 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants