I have a trouble when I want to run locally an azure function in vscode or vs enterprise 2017, the error is:

I tried this and nothing work:
npm root -g the path is a custom path that I created to the
test, but the application still try to find in the error path.The main error is the special symbols in my user name, the accent mark.
I don't know what I can do, sorry for my bad english
This issue is in the underlying dependencies of the core-tools, namely https://github.com/Azure/azure-functions-host which is using edgejs. And from this thread, you could try to download a zipfile manually from the URL specified here: https://aka.ms/functions-cli or download from the releases page: https://github.com/Azure/azure-functions-cli/releases, then install this tool in a different folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With