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

Error when executing npm #47

Open
NicoBrug opened this issue Nov 23, 2021 · 5 comments
Open

Error when executing npm #47

NicoBrug opened this issue Nov 23, 2021 · 5 comments

Comments

@NicoBrug
Copy link

Hello,

I have some problems with the npm execution. I have some problems with the npm execution. The log file is below :

Capture

I managed to get the library to work with the dist file, which is your already packaged lib. However, I was not able to use your library from source. Do you know how I could fix this? I work on windows.

PS : What is deltaSeams ?
Array tile size = "3x128x128 (+ deltaSeams)"

@cesarecaoduro
Copy link

Are you able to publish your solution?
I’m trying to get it work with a new release of threejs and it keeps giving me errors

@NicoBrug
Copy link
Author

NicoBrug commented Dec 5, 2021

Hello, if you want to get it work, you just need to put the dist build file of three-geo in your html and import three js before. What is the error ? Perhaps i can help you.

@cesarecaoduro
Copy link

This is the configuration of my project
image
image
image
image

@NicoBrug
Copy link
Author

NicoBrug commented Dec 5, 2021

THREE not defined, so ThreeJS is not loaded, or is loaded after a ThreeJS dependent library.

The ThreeJS library needs to be loaded before three-geo. Three geo depends on threeJS.
I did not see where you import the library in your code. Are you sure to import the threeJS library before three-geo?

@cesarecaoduro
Copy link

The import is in the first screenshot

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