Skip to content

Errors using on OSX with PS 6.0.2 #191

Open

Description

OS: Mac OSX High Sierra 10.13.6
PS 6.0.2

Error when running Find:
(but does seem to find most of the Project instances on my machine)

`
Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

5.3.0f4 /Users/adamhill/projects/ld-growing-asteroid-life/ LD Growing - A...
Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments

Get-YamlDocuments : Exception calling "Load" with "1" argument(s): "(Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 2, Idx: 1): While scanning for the next token, find character that cannot start any token."
At /usr/local/share/powershell/Modules/powershell-yaml/0.4.0/powershell-yaml.psm1:234 char:22

  • ... documents = Get-YamlDocuments -Yaml $Yaml -UseMergingParser:$UseMergi ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • CategoryInfo : NotSpecified: (:) [Get-YamlDocuments], MethodInvocationException
  • FullyQualifiedErrorId : SyntaxErrorException,Get-YamlDocuments
    `

Activity

  1. kobechenyang commented on Oct 13, 2019

    @kobechenyang

    I have the same error, solved it by setting Asset Serialization Mode set as 'Force Text' in Editor settings under project settings.
    image (3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions