-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found an unknown key tasks
when pruning
#8368
Comments
Is the --scope flag removed? If I replace --scope with --filter it works. I am aware that I can |
Having the same issue when building on Docker. RUN turbo prune --scope=${PROJECT} --docker
|
RUN turbo prune ${PROJECT} --docker Also fails with:
|
All examples except the one with docker is updated: https://github.com/vercel/turbo/tree/main/examples/with-docker |
I believe this is some issue with your machine's NPM registry cache where this line is installing On my machine the command succeeds with
|
Closing in favor of #8309 as this is almost definitely the same issue and it hasn't gotten any updates. See that issue for updates |
Verify canary release
Link to code that reproduces this issue
https://github.com/imprakharshukla/turbo-docker-repro
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.0.3-canary.0
Describe the Bug
When running
turbo prune <project> --docker
, the turbo does not recognise the tasks property in the turbo.json.It was working on 1.x.x.
Expected Behavior
It should prune the app for a docker build as it did in ver. 1.x
To Reproduce
docker build --build-arg PROJECT="app-a" .
Additional context
This started happening on 2.x builds, it was working fine before.
The text was updated successfully, but these errors were encountered: