AssemblyScript / examples

A collection of AssemblyScript examples.
https://assemblyscript.org
MIT License
287 stars 50 forks source link

Game of life example not building #27

Closed sebpiq closed 2 years ago

sebpiq commented 2 years ago

I still can't build game of life example. When running : npm run asbuild

I get the error :

> @assemblyscript/game-of-life-example@1.0.0 asbuild
> npm run asbuild:debug && npm run asbuild:release

> @assemblyscript/game-of-life-example@1.0.0 asbuild:debug
> asc assembly/index.ts --target debug

Fatal: Module::addMemory: 0 already exists

▌ Whoops, the AssemblyScript compiler has crashed during compile :-(
▌ 
▌ There is no stack trace. Perhaps a Binaryen exception above / in console?
▌ 
▌ > undefined
▌ 
▌ If you see where the error is, feel free to send us a pull request. If not,
▌ please let us know: https://github.com/AssemblyScript/assemblyscript/issues
▌ 
▌ Thank you!
MaxGraey commented 2 years ago

It will be fixed in next release. See this issue: https://github.com/AssemblyScript/assemblyscript/issues/2482

sebpiq commented 2 years ago

Amazing! Thanks <3