Does this occur consistently? Yes
Repro steps:
I primarily use VS Code for my BICEP work
in VS Code, right-click the bicep template file and select generate parameter file
select bicepparam OR json
select all or required (the result is the same)
I've seen other issues where a file handler was the expected culprit. I've tried closing OneDrive, PowerToys, and Everything. Nothing seems to do the trick.
Action: command/bicep.generateParams
Error type: Error
Error Message: Generating parameters failed: cannot open redacted:url Detail: Unable to read file 'c:\Users\redacted:username\redacted\Documents\VSCode\Infrastructure\BICEP\BICEP Templates\Web\functions\function.bicepparam' (Error: Unable to resolve nonexistent file 'c:\Users\redacted:username\redacted\Documents\VSCode\Infrastructure\BICEP\BICEP Templates\Web\functions\function.bicepparam')
Version: 0.20.4
OS: win32
OS Release: 10.0.22621
Product: Visual Studio Code
Product Version: 1.81.1
Language: en
I believe I found the issue for this problem. I thought this was the previous ERRNO error I was getting. this was actually an issue with a module being used in the main bicep template
Does this occur consistently? Yes Repro steps: I primarily use VS Code for my BICEP work
I've seen other issues where a file handler was the expected culprit. I've tried closing OneDrive, PowerToys, and Everything. Nothing seems to do the trick.
Action: command/bicep.generateParams Error type: Error Error Message: Generating parameters failed: cannot open redacted:url Detail: Unable to read file 'c:\Users\redacted:username\redacted\Documents\VSCode\Infrastructure\BICEP\BICEP Templates\Web\functions\function.bicepparam' (Error: Unable to resolve nonexistent file 'c:\Users\redacted:username\redacted\Documents\VSCode\Infrastructure\BICEP\BICEP Templates\Web\functions\function.bicepparam')
Version: 0.20.4 OS: win32 OS Release: 10.0.22621 Product: Visual Studio Code Product Version: 1.81.1 Language: en
Call Stack
``` GenerateParamsCommand.execute extension.js:2:2849037 extension.js:2:2851364extension.js:2:2851364 ```