https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36682
--- Comment #17 from Paul Derscheid <[email protected]> --- Thanks Victor, these are good catches. The checkout-local `.pnpm-store` is expected because pnpm keeps its store on the same filesystem as the installation so that it can use hardlinks. In this case the checkout is a separate bind-mounted filesystem. This is documented in pnpm's FAQ: pnpm dot io/10.x/faq#does-pnpm-work-across-multiple-drives-or-filesystems The store is only relevant to the checkout-local installation. After removing that installation it can be pruned or removed to reclaim the cache space. --- Yes, updating the shared tree still requires root: ``` sudo pnpm --dir /kohadevbox install --frozen-lockfile ``` And you are right that the manifests in `/kohadevbox` need to stay synchronized. Copying them only at container startup is not sufficient after changing branches or dependencies. I tested symlinking them to the checkout with pnpm 10.34.5, and pnpm still installs into `/kohadevbox/node_modules`. However, your point about someone inevitably running `pnpm install` from the checkout is more important. That is the natural command I would run, and the manifest symlinks do not prevent it from creating a second tree which shadows the one provided by ktd. I do not think documentation alone is a good enough solution here. The ktd setup should make an install from the checkout either use the shared dependency tree or fail with a clear explanation instead of silently creating a local one. I need to adjust that part of the ktd setup before settling on the symlink approach. --- I agree about `internationalization.md`: that section is for installations where the build tools are not already supplied by ktd, so `pnpm install` from the repository is appropriate there. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
