You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import this library to my project, but I'm having trouble doing so. It's true that I'm not doing it like it is said to be done on the git demo (doing the js directly in the html file), but my guess is that it should still work.
I have something like this:
import*asNOISEfrom"../libs/perlin.js";//...vary=Math.round(noise.perlin2(x,z));//like they do in the git example
But I'm getting an error regarding the library itself:
https://stackoverflow.com/questions/70817415/having-trouble-importing-a-library-cannot-set-properties-of-undefined-setting
I'm trying to import this library to my project, but I'm having trouble doing so. It's true that I'm not doing it like it is said to be done on the git demo (doing the js directly in the html file), but my guess is that it should still work.
I have something like this:
But I'm getting an error regarding the library itself:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: