-
Notifications
You must be signed in to change notification settings - Fork 465
Open
Description
Version
4
Description
I'm using macOS, I freshly installed the functions cli via brew tap azure/functions / brew install azure-functions-core-tools. When I try to launch the cli on an empty folder, every variation of the cli crashes with this error:
kp ~/temp > func --help
Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: Q. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Azure.Functions.Cli.Common.DiskBacked`1.Create(String path) in D:\a\1\s\src\Azure.Functions.Cli\Common\DiskBacked.cs:line 27
at Azure.Functions.Cli.Common.PersistentSettings..ctor(Boolean global) in D:\a\1\s\src\Azure.Functions.Cli\Common\PersistentSettings.cs:line 27
at Azure.Functions.Cli.Program.Main(String[] args) in D:\a\1\s\src\Azure.Functions.Cli\Program.cs:line 12
zsh: abort func --help
Steps to reproduce
- Install the cli via homebrew
- Run any command
Reactions are currently unavailable