Package-lock.json found warning

Hi Guys,
Am facing this error

package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

everytime I do bench update and it runs without error but on offline pos the item has zero quantities in stock… and cant search for any itm in offline pos.,. what could be the reason…

here is the copy paste of the error…

INFO:bench.utils:yarn install
yarn install v1.15.2
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages…
success Already up-to-date.
Done in 0.37s.
Patching sites…

kindly help

Sent a PR to remove package-lock.json. It should not affect your yarn install. It’s just a warning.

https://github.com/frappe/erpnext/pull/18564

thank you very much but is there a reason why the offline pos is not showing items in stock and cant search for items unless I load all the items in pos?
I Facing this error.
Kindly help…

Assuming this is no help https://support.erpnext.com/blog/blog/erpnext-features/offline-pos-in-erpnext-7

State your problem in a new post for someone informed to help clarify…