Error when building webvault #1823

Closed
opened 2026-02-05 01:55:02 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @jfreak53 on GitHub (Jan 17, 2024).

I'm trying to build the webvault, all else is working fine. I followed instructions here, but no go.

Checking patch libs/components/src/menu/menu.component.html...
error: while searching for:
<ng-template>
  <div
    (click)="closed.emit()"
    class="tw-flex tw-shrink-0 tw-flex-col tw-rounded tw-border tw-border-solid tw-border-secondary-500 tw-bg-background tw-bg-clip-padding tw-py-2"
    [attr.role]="ariaRole"
    [attr.aria-label]="ariaLabel"
    cdkTrapFocus

error: patch failed: libs/components/src/menu/menu.component.html:1
Applied patch apps/web/src/app/admin-console/organizations/create/organization-information.component.html cleanly.
Applied patch apps/web/src/app/admin-console/organizations/settings/account.component.html cleanly.
Applied patch apps/web/src/app/admin-console/organizations/settings/account.component.ts cleanly.
Applied patch apps/web/src/app/app.component.ts cleanly.
Applied patch apps/web/src/app/auth/settings/two-factor-authenticator.component.ts cleanly.
Applied patch apps/web/src/app/billing/organizations/organization-billing-history-view.component.ts cleanly.
Applied patch apps/web/src/app/billing/organizations/organization-plans.component.html cleanly.
Applied patch apps/web/src/app/billing/organizations/organization-plans.component.ts cleanly.
Applied patch apps/web/src/app/components/environment-selector/environment-selector.component.ts cleanly.
Applied patch apps/web/src/app/core/init.service.ts cleanly.
Applied patch apps/web/src/app/core/router.service.ts cleanly.
Applied patch apps/web/src/app/core/web-platform-utils.service.ts cleanly.
Applied patch apps/web/src/app/layouts/footer.component.html cleanly.
Applied patch apps/web/src/app/layouts/frontend-layout.component.html cleanly.
Applied patch apps/web/src/app/layouts/header/web-header.component.html cleanly.
Applied patch apps/web/src/app/layouts/navbar.component.html cleanly.
Applied patch apps/web/src/app/settings/settings.component.ts cleanly.
Applied patch apps/web/src/app/tools/generator.component.ts cleanly.
Applied patch apps/web/src/app/tools/send/access.component.html cleanly.
Applied patch apps/web/src/app/vault/individual-vault/vault.component.ts cleanly.
Applied patch apps/web/src/app/vault/org-vault/vault-header/vault-header.component.ts cleanly.
Applied patch apps/web/src/app/vault/org-vault/vault.component.ts cleanly.
Applied patch apps/web/src/index.html cleanly.
Applied patch apps/web/src/manifest.json cleanly.
Applied patch apps/web/src/scss/styles.scss cleanly.
Applied patch apps/web/webpack.config.js cleanly.
Applied patch libs/angular/src/auth/components/register.component.ts cleanly.
Applied patch libs/angular/src/auth/components/two-factor-options.component.ts cleanly.
Applying patch libs/components/src/menu/menu.component.html with 1 reject...
Rejected hunk #1.
FAILED: line 33, exit code 1. Press any key to exit...
Makefile:44: recipe for target 'patch-web-vault' failed
make: *** [patch-web-vault] Error 1
Originally created by @jfreak53 on GitHub (Jan 17, 2024). I'm trying to build the webvault, all else is working fine. I followed instructions [here](https://github.com/dani-garcia/vaultwarden/wiki/Building-binary#install-the-web-vault), but no go. ``` Checking patch libs/components/src/menu/menu.component.html... error: while searching for: <ng-template> <div (click)="closed.emit()" class="tw-flex tw-shrink-0 tw-flex-col tw-rounded tw-border tw-border-solid tw-border-secondary-500 tw-bg-background tw-bg-clip-padding tw-py-2" [attr.role]="ariaRole" [attr.aria-label]="ariaLabel" cdkTrapFocus error: patch failed: libs/components/src/menu/menu.component.html:1 Applied patch apps/web/src/app/admin-console/organizations/create/organization-information.component.html cleanly. Applied patch apps/web/src/app/admin-console/organizations/settings/account.component.html cleanly. Applied patch apps/web/src/app/admin-console/organizations/settings/account.component.ts cleanly. Applied patch apps/web/src/app/app.component.ts cleanly. Applied patch apps/web/src/app/auth/settings/two-factor-authenticator.component.ts cleanly. Applied patch apps/web/src/app/billing/organizations/organization-billing-history-view.component.ts cleanly. Applied patch apps/web/src/app/billing/organizations/organization-plans.component.html cleanly. Applied patch apps/web/src/app/billing/organizations/organization-plans.component.ts cleanly. Applied patch apps/web/src/app/components/environment-selector/environment-selector.component.ts cleanly. Applied patch apps/web/src/app/core/init.service.ts cleanly. Applied patch apps/web/src/app/core/router.service.ts cleanly. Applied patch apps/web/src/app/core/web-platform-utils.service.ts cleanly. Applied patch apps/web/src/app/layouts/footer.component.html cleanly. Applied patch apps/web/src/app/layouts/frontend-layout.component.html cleanly. Applied patch apps/web/src/app/layouts/header/web-header.component.html cleanly. Applied patch apps/web/src/app/layouts/navbar.component.html cleanly. Applied patch apps/web/src/app/settings/settings.component.ts cleanly. Applied patch apps/web/src/app/tools/generator.component.ts cleanly. Applied patch apps/web/src/app/tools/send/access.component.html cleanly. Applied patch apps/web/src/app/vault/individual-vault/vault.component.ts cleanly. Applied patch apps/web/src/app/vault/org-vault/vault-header/vault-header.component.ts cleanly. Applied patch apps/web/src/app/vault/org-vault/vault.component.ts cleanly. Applied patch apps/web/src/index.html cleanly. Applied patch apps/web/src/manifest.json cleanly. Applied patch apps/web/src/scss/styles.scss cleanly. Applied patch apps/web/webpack.config.js cleanly. Applied patch libs/angular/src/auth/components/register.component.ts cleanly. Applied patch libs/angular/src/auth/components/two-factor-options.component.ts cleanly. Applying patch libs/components/src/menu/menu.component.html with 1 reject... Rejected hunk #1. FAILED: line 33, exit code 1. Press any key to exit... Makefile:44: recipe for target 'patch-web-vault' failed make: *** [patch-web-vault] Error 1 ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1823