Skip to content

error: no project when running lx add with --no-project #967

Answered by mrcjkb
cootshk asked this question in Q&A
Discussion options

You must be logged in to vote

Some commands (like add, remove) are for project management, so they don't work with --no-project.
Other commands operate on the user-local tree or on a project, depending whether you're in a project directory. That's what --no-project is for (perhaps the flag should be moved to the subcommands).

To install a package to the user-local tree, use lx install.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cootshk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #966 on August 10, 2025 08:38.