System:
-
Windows 10 Home 64-bit
-
Intel® Core™ i7-4790k CPU @ 4.00GHz 4.00GHz
-
32 GB RAM
-
Fuse version 0.5.3524
-
Sublime Text build 3083
Problem:
Almost every CLI command I try has an unhandled exception:
Running fuse
seems to work, but Right-click -> Utilities -> Install Sublime Plugin
will output the same error as the CLI command in the form of several notifications.
Right-click -> New project...
does not output any errors, but all it does is create a folder with the chosen project name and a devices.json file inside it.
Errors as text:
fuse install sublime-plugin
error
fuse: unhandled exception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at Outracks.TextScanner.<GetLines>d0.MoveNext()
at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
at Outracks.TextScanner..ctor(String text)
at Outracks.Fuse.Install.ModuleParser.FuseModuleParser.<ParseScopes>d8.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArrayTSource
at Outracks.Fuse.Install.ModuleParser.FuseModuleParser.Preprocess(String data, PreprocessorDefinition[] preprocessorDefinitions, PreprocessorVariable[] preprocessorVariables, IProgress1 progress)
at Outracks.Fuse.Install.ModuleParser.FuseModuleParser.Parse(String source, PreprocessorDefinition[] preprocessorDefinitions, PreprocessorVariable[] preprocessorVariables, IProgress1 progress)
at Outracks.Fuse.Install.ModuleParser.FuseModulesInstaller.UpdateCacheIfNeeded()
at Outracks.Fuse.Install.ModuleParser.FuseModulesInstaller.Install(String name, String[] args)
at Outracks.Fuse.Commands.InstallCliCommand.Install(String packageName, String[] args)
fuse create app tutorial
error
fuse: unhandled exception: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at Outracks.TextScanner.<GetLines>d0.MoveNext()
at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable1 collection)
at Outracks.TextScanner..ctor(String text)
at Outracks.Templates.TemplateParser.<Parse>d4.MoveNext()
at Outracks.Templates.TemplateParser.ReplaceVariables(String template)
at Outracks.Templates.TemplateSpawner.CopyAndReplaceVariables(AbsoluteFilePath src, AbsoluteFilePath dst)
at Outracks.Templates.TemplateSpawner.<CopyTemplateFiles>d__0.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArrayTSource
at Outracks.Templates.TemplateSpawner.SpawnTemplate(Template template, AbsoluteDirectoryPath whereToSpawnTemplate, ITemplateVariableResolver variableResolver, IFileSystem fileSystem)
at Outracks.Fuse.Create.SpawnTemplate.Spawn(Template template, AbsoluteDirectoryPath location, ITemplateVariableResolver environment)
at Outracks.Fuse.Create.SpawnTemplate.CreateProject(String name, Template template, Optional`1 destinationPath)
at Outracks.Fuse.Create.CreateCliCommand.Run(String[] args)
at Outracks.CLI.CliProgram.Main(String[] args)