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

Attempted Import Error #172

Open
FalseFeint opened this issue Apr 1, 2024 · 1 comment
Open

Attempted Import Error #172

FalseFeint opened this issue Apr 1, 2024 · 1 comment

Comments

@FalseFeint
Copy link

Hi,

I used this package a couple months ago and everything was working great. I started a new project and when I try to import Globe I get the following error:

Failed to compile.

./node_modules/globe.gl/dist/globe.gl.mjs
Attempted import error: 'AmbientLight' is not exported from 'three'.

I tried downgrading three to 0.162.0 (latest is currently 0.163.0). Not sure what else I should try, any help/direction would be great, thanks!

@vasturiano
Copy link
Owner

@FalseFeint looks like something might be wrong with your local version of three in your node_modules. I would try to reset your node_modules and reinstall the packages again to see if the issue fixes itself.

To verify if this is a wider issue, I'd recommend to try to reproduce it in https://codesandbox.io/ .

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