Coder Social home page Coder Social logo

Comments (12)

JosephToma1 avatar JosephToma1 commented on July 20, 2024 6

I have the same problem as well.

from kepler.gl.

webocean8 avatar webocean8 commented on July 20, 2024 1

I came across a functioning version, kepler.gl-3.0.0-alpha.1.tar.gz, within a node14.21.3 system environment. After executing "yarn" at the root level of the project, the system environment updated to node18.18.2. By running "yarn start" in the project's root, I successfully launched the project.

from kepler.gl.

echo292 avatar echo292 commented on July 20, 2024 1

@AltayAkkus, I've been at it for about a week now trying to get a custom project working.
Initially, I got the demo to work earlier this year with version 3.0.0-alpha 1 and I can't remember the steps I used.
My objective is to get it working so I can use React 18.2.0.

Step 1: Based on the current API Reference > Get Started documentation, I first created a project using npx create-react-app my-kepler-app. Then I install kepler with "npm install --save kepler.gl". This out of the box will not work. Need to add react-palm and Redux. This is where I wish the documentation was better. It doesn't step through how to get a project running at all.
Step 2: Piggy back off an existing kepler example project. Preferably the demo. As I mentioned earlier, I did get all the examples to work earlier this year. I with I can remember the steps I used to get it working.

Based on the no Kepler activity, I suspect the project has been abandoned and will not receive any new updates from Uber.

The Vis-Academy kepler tutorial works, however that project is using React 16.

from kepler.gl.

ozietank avatar ozietank commented on July 20, 2024

I am also having this issue as well. Same error as above.

from kepler.gl.

donmccurdy avatar donmccurdy commented on July 20, 2024

The errors above can be resolved by upgrading the babel and webpack dependencies. Unfortunately that still leaves #2543, which appears to be a real conflict with incompatible versions of @loaders.gl/* dependencies, and prevents the demo app from building. Upgrading Kepler to Deckgl v9 might be a way to resolve that conflict.

from kepler.gl.

ibgreen avatar ibgreen commented on July 20, 2024

FYI @igorDykhta who upgraded kepler to loaders.gl v4.

from kepler.gl.

ibgreen avatar ibgreen commented on July 20, 2024

I believe that we did publish some deck.gl 8.10 alphas that also bump to loaders.gl 4

from kepler.gl.

donmccurdy avatar donmccurdy commented on July 20, 2024

Appears to be mostly on loaders.gl v4, with one remaining dependency to v3 in the demo app:

yarn why @loaders.gl/schema
yarn why v1.19.1
warning package.json: No license field
[1/4] 🤔  Why do we have the module "@loaders.gl/schema"...?
[2/4] 🚚  Initialising dependency graph...
warning No license field
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "@loaders.gl/[email protected]"
info Has been hoisted to "@loaders.gl/schema"
info Reasons this module exists
   - Hoisted from "@loaders.gl#draco#@loaders.gl#schema"
   - Hoisted from "@loaders.gl#gltf#@loaders.gl#textures#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#geo-layers#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#layers#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#geo-layers#@loaders.gl#gis#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#geo-layers#@loaders.gl#mvt#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#geo-layers#@loaders.gl#terrain#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#geo-layers#@loaders.gl#wms#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#geo-layers#@loaders.gl#mvt#@loaders.gl#gis#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#reducers#@kepler.gl#deckgl-layers#@deck.gl#geo-layers#@loaders.gl#wms#@loaders.gl#xml#@loaders.gl#schema"
info Disk size without dependencies: "1.27MB"
info Disk size with unique dependencies: "1.29MB"
info Disk size with transitive dependencies: "1.29MB"
info Number of shared dependencies: 1
=> Found "@loaders.gl/gis#@loaders.gl/[email protected]"
info This module exists because "@loaders.gl#gis" depends on it.
info Disk size without dependencies: "1.06MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 1
=> Found "@loaders.gl/arrow#@loaders.gl/[email protected]"
info This module exists because "@loaders.gl#arrow" depends on it.
info Disk size without dependencies: "1.06MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 1
=> Found "@loaders.gl/csv#@loaders.gl/[email protected]"
info This module exists because "@loaders.gl#csv" depends on it.
info Disk size without dependencies: "1.06MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 1
=> Found "@loaders.gl/json#@loaders.gl/[email protected]"
info This module exists because "@loaders.gl#json" depends on it.
info Disk size without dependencies: "1.06MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 1
=> Found "@loaders.gl/wkt#@loaders.gl/[email protected]"
info This module exists because "@loaders.gl#arrow#@loaders.gl#wkt" depends on it.
info Disk size without dependencies: "1.06MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 1
=> Found "@kepler.gl/layers#@loaders.gl/[email protected]"
info Reasons this module exists
   - "@kepler.gl#actions#@kepler.gl#layers" depends on it
   - Hoisted from "@kepler.gl#actions#@kepler.gl#layers#@loaders.gl#gltf#@loaders.gl#draco#@loaders.gl#schema"
   - Hoisted from "@kepler.gl#actions#@kepler.gl#layers#@loaders.gl#gltf#@loaders.gl#textures#@loaders.gl#schema"
info Disk size without dependencies: "1.06MB"
info Disk size with unique dependencies: "1.08MB"
info Disk size with transitive dependencies: "1.08MB"
info Number of shared dependencies: 1
✨  Done in 0.35s.

from kepler.gl.

alexandregodard avatar alexandregodard commented on July 20, 2024

... Quick and dirty awaiting fix...
Can be bypassed if you overload the version of @loaders.gl/schema and @loaders.gl/draco in package.json.

...
  "resolutions": {
    "@loaders.gl/schema": "4.1.0-alpha.4",
    "@loaders.gl/draco": "4.1.0-alpha.4"
  },
  "overrides": {
    "@loaders.gl/schema": "4.1.0-alpha.4",
    "@loaders.gl/draco": "4.1.0-alpha.4"
  },
  ...

from kepler.gl.

webocean8 avatar webocean8 commented on July 20, 2024

I am also having this issue as well. Same error as above.
May I ask how the error has been resolved now?

from kepler.gl.

echo292 avatar echo292 commented on July 20, 2024

I came across a functioning version, kepler.gl-3.0.0-alpha.1.tar.gz, within a node14.21.3 system environment. After executing "yarn" at the root level of the project, the system environment updated to node18.18.2. By running "yarn start" in the project's root, I successfully launched the project.

Thank you for leaving your comments on getting the demo project running.
Have you successfully got your own project running using the "npm install --save kepler.gl" method?

from kepler.gl.

AltayAkkus avatar AltayAkkus commented on July 20, 2024

I came across a functioning version, kepler.gl-3.0.0-alpha.1.tar.gz, within a node14.21.3 system environment. After executing "yarn" at the root level of the project, the system environment updated to node18.18.2. By running "yarn start" in the project's root, I successfully launched the project.

Thank you for leaving your comments on getting the demo project running. Have you successfully got your own project running using the "npm install --save kepler.gl" method?

can you elaborate? I am still trying to get the demo running, to no avail. Even going back to 2.1 release did not fix my issues, sadly.

from kepler.gl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.