We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have installed this package using npm install nodejs
npm install nodejs
imported it in my index.js file like so import * as Noise from './node_modules/noisejs/index.js'
import * as Noise from './node_modules/noisejs/index.js'
And then this error shows up in the console
index.js:325 Uncaught TypeError: Cannot set property 'Noise' of undefined at index.js:325 at index.js:327
How do I resolve this?
The text was updated successfully, but these errors were encountered:
Same error here. One year old and still no fix? Guess this repo isn't active anymore.
Sorry, something went wrong.
i used chatgpt o3 to convert the perlin.js file into an es6 module. https://gist.github.com/ika-musuko/539fc0229533a56f0b52f33137a77d15
you can use it like this
import { noise } from "./perlin.module.js"; const perlinNoise = noise.perlin2(0.4, 1.2);
No branches or pull requests
I have installed this package using
npm install nodejs
imported it in my index.js file like so
import * as Noise from './node_modules/noisejs/index.js'
And then this error shows up in the console
How do I resolve this?
The text was updated successfully, but these errors were encountered: