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

Can't resolve '@deck.gl/geo-layers/tile-layer/tileset-2d' #191

Open
earthshakira opened this issue Apr 17, 2021 · 1 comment
Open

Can't resolve '@deck.gl/geo-layers/tile-layer/tileset-2d' #191

earthshakira opened this issue Apr 17, 2021 · 1 comment

Comments

@earthshakira
Copy link

earthshakira commented Apr 17, 2021

even though all other imports are working fine like

import {TileLayer} from '@deck.gl/geo-layers';

I'm not able to import the class Tileset2D

import Tileset2D from "@deck.gl/geo-layers/tile-layer/tileset-2d";

export default class MyTileset extends Tileset2D{
 ...
}

same issue in @deck.gl/geo-layers/tile-layer/tile-2d-header

it gives the error

Module not found: Can't resolve '@deck.gl/geo-layers/tile-layer/tileset-2d' in  ....

.... is my filepath
I'm using an app created with

yarn create react-app my-app --template typescript

Please could you help me with this.

@humblefool1997
Copy link

Did you manage to solve the issue ?

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

No branches or pull requests

2 participants