vue npm run build console error
TtangBro opened this issue · 1 comments
cause: null
message: "Missing Module: This feature requires the 'view-layout-bridge' module. Either load the module 'view-layout-bridge' explicitly or call 'Class.ensure(LayoutExecutor)'."
name: "InvalidOperationError"
Hi,
this issue is most likely caused by a build process that uses tree-shaking to optimize imports. In this case, please add the line
Class.ensure(LayoutExecutor)
to your code. This ensures that the missing 'view-layout-bridge' module is loaded. For more information, please have a look at this article in the yFiles developer's guide.
For future questions, we would like to encourage you to use the yWorks Support Center. This will ensure that your request is answered quickly.
Best Regards,
Jens