Failure: Cannot proceed with update: You have local changes in app “hrms” that are not committed

As begin with this:

Issue resolved by running this command in hrms folder.

[quote=“rs115199789, post:18, topic:127885”]
Issue resolved by running this command in hrms folder.

cd ~/frappe-bench/apps/hrms
git restore yarn.lock

After updating bench this warning appears and it overwrite my hrms app and getting the same error for hrms app:


.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern [“wrap-ansi-cjs@npm:wrap-ansi@^7.0.0”]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies…
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > vite-plugin-pwa@0.19.8” has unmet peer dependency “workbox-build@^7.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > vite-plugin-pwa@0.19.8” has unmet peer dependency “workbox-window@^7.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-color@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-highlight@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-image@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-link@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-mention@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-placeholder@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-table@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-table-cell@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-table-header@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-table-row@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-text-align@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-text-style@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/extension-typography@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/suggestion@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/vue-3@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/vue-3 > @tiptap/extension-bubble-menu@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.
warning “workspace-aggregator-22fc29be-b83e-450e-922d-51a1d9015b3c > frappe-hr-ui > frappe-ui > @tiptap/vue-3 > @tiptap/extension-floating-menu@2.4.0” has unmet peer dependency “@tiptap/core@^2.0.0”.

How to resolve this issue?

I guess yarn issue

yarn add workbox-build@^7.0.0 workbox-window@^7.0.0 @tiptap/core@^2.0.0