neuroevolution icon indicating copy to clipboard operation
neuroevolution copied to clipboard

Sample code is not working

Open oom- opened this issue 5 years ago • 2 comments

TypeError: genome.generateNetwork is not a function
    at population.evolve.genome (\NEAT\index.js:11:26)
    at Chromosome.calculateFitness (\NEAT\node_modules\neuroevolution\src\chromosome.class.js:34:20)
    at Population.evaluate (\NEAT\node_modules\neuroevolution\src\population.class.js:36:18)
    at Population.evolve (\node_modules\neuroevolution\src\population.class.js:98:12)
    at Object.<anonymous> (\NEAT\index.js:10:12)
    at Module._compile (module.js:649:14)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

oom- avatar Feb 16 '20 21:02 oom-

I hit this error too :(

wongjiahau avatar Mar 12 '20 15:03 wongjiahau

It looks like this Repo it's not in sync with npm. @romainsimon could you please update the npm?

image https://npm.runkit.com/neuroevolution/index.js?t=1601729106722

brunnolou avatar Oct 03 '20 12:10 brunnolou