-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
kind: bugSomething isn't workingSomething isn't working
Description
Verify canary release
- [] I verified that the issue exists in the latest Turborepo canary release.
Link to code that reproduces this issue
Private repository, I have shared the bun lock files with turborepo however.
Which canary version will you have in your reproduction?
2.6.1, the 2.6.2 canary versions are not published to npm yet.
Environment information
#10 0.183 turbo 2.6.1
#10 0.183
#10 0.199 CLI:
#10 0.199 Version: 2.6.1
#10 0.199 Path to executable: /root/.bun/install/global/node_modules/turbo-linux-arm64/bin/turbo
#10 0.199 Daemon status: Not running
#10 0.199 Package manager: Not found
#10 0.199
#10 0.199 Platform:
#10 0.199 Architecture: aarch64
#10 0.199 Operating system: linux
#10 0.199 WSL: false
#10 0.199 Available memory (MB): 6966
#10 0.199 Available CPU cores: 14
#10 0.199
#10 0.199 Environment:
#10 0.199 CI: None
#10 0.199 Terminal (TERM): unknown
#10 0.199 Terminal program (TERM_PROGRAM): unknown
#10 0.199 Terminal program version (TERM_PROGRAM_VERSION): unknown
#10 0.199 Shell (SHELL): unknown
#10 0.199 stdin: false
#10 0.199
Expected behavior
Expecting bun install --frozen-lockfile --linker hoisted: to complete successfully and not encounter a change in the lockfile causing an error.
Actual behavior
=> [pruner 2/2] RUN turbo prune @repo/member-app-web --docker 2.7s
=> [installer 2/4] COPY --from=pruner /usr/src/app/out/json/ . 0.0s
=> [installer 3/4] COPY --from=pruner /usr/src/app/out/bun.lock ./bun.lock 0.0s
=> ERROR [installer 4/4] RUN bun install --frozen-lockfile --linker hoisted 1.8s
=> [builder 2/6] COPY --from=pruner /usr/src/app/out/full/ . 0.2s
------
> [installer 4/4] RUN bun install --frozen-lockfile --linker hoisted:
0.100 bun install v1.3.3 (274e01c7)
0.114 Resolving dependencies
1.721 Resolved, downloaded and extracted [313]
1.725 error: lockfile had changes, but lockfile is frozen
1.725 note: try re-running without --frozen-lockfile and commit the updated lockfile
------
Dockerfile:18
--------------------
16 | COPY --from=pruner /usr/src/app/out/json/ .
17 | COPY --from=pruner /usr/src/app/out/bun.lock ./bun.lock
18 | >>> RUN bun install --frozen-lockfile --linker hoisted
19 | # RUN bun install --linker hoisted
20 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c bun install --frozen-lockfile --linker hoisted" did not complete successfully: exit code: 1
To Reproduce
I've provided the bun.lock from the pruned repo and the original repo via email to @anthonyshew
Additional context
Note I was unable to install the latest canary, 2.6.2-canary-1 or 0, as they are not available on npm yet. This looks to be similar to #11007
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't working