| The Electron build fails during packaging with:
Production dependency vue-router not found for package @xwiki/platform-api
@xwiki/platform-api declares vue-router 5.2.0 in its dependencies (and 5.x in its peerDependencies), while the workspace catalog pins 5.0.3. Because vue-router is also a peer dependency, pnpm links the peer-resolved 5.0.3, and electron-builder's node_modules traversal collector — which checks each declared dependency version against what is actually linked — cannot satisfy the 5.2.0 range. Upgrade the catalog entry to vue-router 5.2.0. |