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

Uncaught TypeError: Cannot set property 'Noise' of undefined #31

Open
knightcube opened this issue Apr 20, 2021 · 1 comment
Open

Uncaught TypeError: Cannot set property 'Noise' of undefined #31

knightcube opened this issue Apr 20, 2021 · 1 comment

Comments

@knightcube
Copy link

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

index.js:325 Uncaught TypeError: Cannot set property 'Noise' of undefined
    at index.js:325
    at index.js:327

How do I resolve this?

@EdgeCaseLord
Copy link

Same error here. One year old and still no fix? Guess this repo isn't active anymore.

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