Symlinking bundles causes invalid paths to be generated for ez.config.js and ez.config.manager.js files. This happens in rare circumstances:
Installation at /Users/myuser/Projects/ezplatform, symlinked package (ezsystems/ezplatform-admin-ui) at /Users/myuser/Projects/ezplatform-admin-ui.
Cause of the issue:
Paths are generated by removing absolute installation path from package's absolute path to obtain relative path. In this case generated path was invalid: .-admin-ui-modules/Resources/encore/ez.config.js.