keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.4k stars 1.74k forks source link

[Bug] App crashes when applying filters #2064

Open amardeep-developper opened 1 year ago

amardeep-developper commented 1 year ago

Issue

When i upload a csv and apply any filter on integer, float or time type values, my app crashes.

I get error in Rangeplot component.

Error: message: "process is not defined" stack: "ReferenceError: process is not defined\n at isTest (http://localhost:3000/static/js/bundle.js:224063:3)\n at RangePlot (http://localhost:3000/static/js/bundle.js:168239:44)\n

But i am able to access environment variables in my app.

To Reproduce Steps to reproduce the behavior:

  1. Followed steps mentioned in the doc

I followed steps mentioned in Kepler.gl doc: https://docs.kepler.gl/docs/api-reference/get-started

image image

React version: 18 Kepler.gl: 2.5.5

DongMinn commented 1 year ago

i solved this issue by https://github.com/vfile/vfile/issues/38#issuecomment-640479137

albcunha commented 1 year ago

I got the same problem. here are another solutions: https://stackoverflow.com/questions/70368760/react-uncaught-referenceerror-process-is-not-defined