Azure-functions-core-tools: Cannot start cli on linux

Created on 4 Jun 2017  Â·  4Comments  Â·  Source: Azure/azure-functions-core-tools

I cannot start the cli on linux. It worked fine when I tried it on windows but on linux I always get the following error (no matter which command I try it with):

/usr/bin/env: ‘node\r’: No such file or directory

node version: v7.10.0
npm version: 5.0.2
OS: Arch Linux

I found this iothub-explorer issue that perfectly describes my problem: https://github.com/Azure/iothub-explorer/issues/6

All 4 comments

@frozenbubble At present this CLI is Windows cmd only. As the README states, this is due the Functions host layer.

Ah my bad, I jumped straight to the usage section. Thanks.

Closing as the CLI is not yet cross-platform. Please watch this issue: https://github.com/Azure/Azure-Functions/issues/98

I also want to run the CLI on Linux @lindydonna

Was this page helpful?
0 / 5 - 0 ratings