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

Cannot overwrite variable kJsonCompilationDbPath because it is read-only or constant. #1329

Open
Mulling opened this issue Oct 13, 2023 · 2 comments
Assignees
Milestone

Comments

@Mulling
Copy link

Mulling commented Oct 13, 2023

I get this error sometimes when generating a compilation database, seems to happen after I delete the build artifacts or directory.

Set-Variable : Cannot overwrite variable kJsonCompilationDbPath because it is read-only or constant.
At clang-power-tools\ClangPowerTools\ClangPowerToolsShared\Tooling\v1\psClang\jsondb-export.ps1:5 char:3

Removing -option Constant seems to fix it.

@mariru27
Copy link
Contributor

Hi @Mulling,

Thank you for bringing this issue to our attention and for your suggested solution
I'll keep you posted on when the release containing this fix will be made available

Kind regards,
Marina

@mariru27 mariru27 self-assigned this Oct 17, 2023
@mariru27 mariru27 added this to the v2023.10.0 milestone Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants