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

geotiff/src/main does not exist #19

Open
saxenasanket opened this issue May 2, 2020 · 1 comment
Open

geotiff/src/main does not exist #19

saxenasanket opened this issue May 2, 2020 · 1 comment

Comments

@saxenasanket
Copy link

saxenasanket commented May 2, 2020

import { fromUrl } from 'geotiff/src/main';

but geotiff/src/main does not exist in node modules

this is the error I am getting

ERROR in ./src/actions/scenes/index.js
Module not found: Error: Can't resolve 'geotiff/src/main' in 'cog-explorer/src/actions/scenes'

@constantinius
Copy link
Member

ah, this was a recent change in geotiff.js. I think it now just needs to be import { fromUrl } from 'geotiff'

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