This took me a lot of time to hunt down but then I stumbled on this post in the go.js forum: https://forum.nwoods.com/t/gojs-with-aurelia-mismatch-error/10170/4
and realized this could be the problem I was having. And indeed doing the change mentioned underneath in the go.js library solved my issue:
I see. I think it may be because our library uses an anonymous define:
define(go)
We’ll consider switching to a named define statement, which will probably fix this
define('go', go)