Tag: mono

azure-functions-cli:func init spits错误“No such file or directory”

我使用以下URl安装了7.x NoodeJs, https://github.com/nodesource/distributions # Using Ubuntu curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash – sudo apt-get install -y nodejs 如链接https://blogs.msdn.microsoft.com/appserviceteam/2016/12/01/running-azure-functions-locally-with-the-cli/中所述 ,安装了azure-functions-cli, npm i -g azure-functions-cli 现在,当我运行“func init”时,出现以下错误:$ func init:没有这样的文件或目录 然后我尝试按照以下方式运行,仍然出现错误, $ node /usr/lib/node_modules/azure-functions-cli/lib/main.js init events.js:161 throw er; // Unhandled 'error' event ^ Error: spawn mono /usr/lib/node_modules/azure-functions-cli/bin/func.exe ENOENT at exports._errnoException (util.js:1023:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT […]