Not good enough. The Forge CLI should clearly tell the dev where the issue is and how to fix it.
There are other non-descript related errors to this:
- Error: There was an error invoking the function - window is not defined
- There was an error invoking the function - window is not defined at invoke
Also fails if you have frontend Forge packages being imported at any point into the resolver, regardless of whether those packages are being used.
So my guess is the bundler is flawed.