Skip to content
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

pixi run start says "command not found" but it's only the platform that's missing #874

Closed
2 tasks done
wolfv opened this issue Feb 27, 2024 · 0 comments · Fixed by #878
Closed
2 tasks done

pixi run start says "command not found" but it's only the platform that's missing #874

wolfv opened this issue Feb 27, 2024 · 0 comments · Fixed by #878
Labels
🐞 bug Something isn't working

Comments

@wolfv
Copy link
Member

wolfv commented Feb 27, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

[project]
name = "test"
version = "0.1.0"
description = "Add a short description here"
authors = []
channels = ["conda-forge"]
platforms = ["linux-64"]

[tasks]
start = "echo hello"

Now execute on a platform that is not linux-64 (e.g. osx-arm64)

pixi run start

Issue description

This prints:

start: command not found

It would be better if it prints "osx-arm64 not supported" or not in platforms or something like that.

Expected behavior

Print a more helpful error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant