Set packageImportMethod to clone-or-copy for pnpm (#57296)

Setting the pnpm `packageImportMethod` to `clone-or-copy` has resolved
issues I've consistently had trying to build the web UI using a docker
container which I have needed to do to test buildboxes.

Random files are reported as `ENOENT: no such file or directory` when
building the web UI. The linked issue and related items have more
detail.
This commit is contained in:
Cam Hutchison
2025-08-04 01:09:22 +00:00
committed by GitHub
parent 803550ec70
commit dbc601cc51
+4
View File
@@ -29,3 +29,7 @@ peerDependencyRules:
- electron-builder-squirrel-windows
# shellEmulator enables cross-platform scripting, allowing POSIX-style shell variables to work on Windows.
shellEmulator: true
# packageImportMethod avoids an issue building the web UI in docker on mac. It does not seem to
# affect performance outside of docker.
# https://github.com/gravitational/teleport/issues/46019
packageImportMethod: clone-or-copy