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

Receiving execution policy error with Azure Functions Core Tools #41771

Closed
1scscott opened this issue Oct 30, 2019 — with docs.microsoft.com · 3 comments
Closed

Receiving execution policy error with Azure Functions Core Tools #41771

1scscott opened this issue Oct 30, 2019 — with docs.microsoft.com · 3 comments

Comments

Copy link

func : File C:\Users\thx1138\AppData\Roaming\npm\func.ps1 cannot be loaded. The file C:\Users\rnb6138\AppData\Roaming\npm\func.ps1 is not digitally signed. You cannot run this
script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

  • func host start

I set the execution policy to unrestricted and bypass for local scopes but that didn't resolve the issue


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@KetanChawda-MSFT
Copy link

@1scscott Thank you for your question! We will review and provide an update as appropriate.

@1scscott
Copy link
Author

1scscott commented Oct 30, 2019

I removed the node PM downloaded/installed from cmdline and installed using the chocolatey pkg https://chocolatey.org/packages?q=functions+core+tools

that resolved my issue.

@KetanChawda-MSFT
Copy link

@1scscott Thank you for the confirmation. I am glad that your issue is resolved.

Since there is no doc update required at the moment, we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

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

No branches or pull requests

3 participants