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

Update CommandNotFoundUserWarning message to reference PowerShell 7.2 or higher instead of PowerShell 7 #951

Open
Francisco-Gamino opened this issue Apr 29, 2023 · 0 comments
Assignees
Labels

Comments

@Francisco-Gamino
Copy link
Contributor

Currently, our warning message says Make sure this module is compatible with PowerShell 7. We should update this to say PowerShell 7.2 or higher.

<data name="CommandNotFoundUserWarning" xml:space="preserve">
<value>The Function app may be missing a module containing the '{0}' command definition. If this command belongs to a module available on the PowerShell Gallery, add a reference to this module to requirements.psd1. Make sure this module is compatible with PowerShell 7. For more details, see https://aka.ms/functions-powershell-managed-dependency. If the module is installed but you are still getting this error, try to import the module explicitly by invoking Import-Module just before the command that produces the error: this will not fix the issue but will expose the root cause.</value>
</data>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant