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

Failed to run cargo check in devcontainer #15

Open
akhildevelops opened this issue Apr 23, 2023 · 0 comments
Open

Failed to run cargo check in devcontainer #15

akhildevelops opened this issue Apr 23, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@akhildevelops
Copy link
Owner

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

@akhildevelops akhildevelops converted this from a draft issue Apr 23, 2023
@akhildevelops akhildevelops added bug Something isn't working good first issue Good for newcomers labels Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant