Skip to content

Failed to run cargo check in devcontainer #15

@akhildevelops

Description

@akhildevelops

cargo install / check fails in devcontainer. Cargo doesn't have permissions to create files in /usr/localcargo../ directory.

It could be because during installation of sqlx-cli all the meta folders are created by root and vscode user doesn't have permissions to write to those folders.

Workaround:

chmod -R 775 /usr/local/cargo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions