question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find match for YAML element PackageFolders

See original GitHub issue

Could someone help me out with this one. Didn’t find anything in the readme

# Default values
# These can all be overriden by user config files

MaxProjectNameLength: 10

# Set to true if you don't want to use the Projeny editor DLL and instead want to link directly
# to UnityPlugin\Projeny
LinkToProjenyEditorDir: False

ReleaseSources:
    - AssetStoreCache:

PathVars:
    ProjTemplatesDir: '[ProjenyDir]/Templates'

    CsProjectTemplate: '[ProjTemplatesDir]/CsProjectTemplate.csproj'
    CsSolutionTemplate: '[ProjTemplatesDir]/CsSolutionTemplate.sln'

    PlaceholderFile1: '[ProjTemplatesDir]/Placeholder1/Placeholder.cs'
    PlaceholderFile2: '[ProjTemplatesDir]/Placeholder2/Placeholder.cs'

    ProjenyChangeProjectMenuMeta: '[ProjTemplatesDir]/ProjenyChangeProjectMenu.cs.meta'

    ProjectRootGitIgnoreTemplate: '[ProjTemplatesDir]/customProjectRootGitIgnore'
    ProjectRootSvnIgnoreTemplate: '[ProjTemplatesDir]/customProjectRootSvnIgnore'

    YamlDotNetDllPath: '[ProjenyDir]/Bin/UnityPlugin/Release/YamlDotNet.dll'
    ProjenyUnityEditorDllPath: '[ProjenyDir]/Bin/UnityPlugin/Release/Projeny.dll'
    ProjenyUnityEditorDllMetaFilePath: '[ProjTemplatesDir]/Projeny.dll.meta'
    ProjenyUnityEditorAssetsDirPath: '[ProjenyDir]/UnityPlugin/Projeny/Assets'
    UnityProjectsDir: 'F:\Dateien\Unity\Projekte'


    # Note that these are defaults, and can be overridden in any other Projeny.yaml file
    MsBuildExePath: 'C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe'
    UnityExePath: 'C:/Program Files/Unity/Editor/Unity.exe'

Console:
    UseColors: False
    OutputToFilteredLog: False

Compilation:
    UseDevenv: False

IncludeProjenyInGeneratedSolution: False

C:\Program Files (x86)\Projeny>prj --project Test --createProject

Initializing new project "Test"...
   Updating package directories for project Test...
      Project "Test" is not initialized for platform "Windows".  Initializing now.
      Initializing new project Test (Windows)...
      Failed during task:  initializing new project Test (Windows) (Took 0.0 seconds, time: 20:29:56, total elapsed: 0.0 seconds)
   Failed during task:  updating package directories for project Test (Took 0.0 seconds, time: 20:29:56, total elapsed: 0.0 seconds)
Failed during task:  initializing new project "Test" (Took 0.0 seconds, time: 20:29:56, total elapsed: 0.0 seconds)
Failed while processing config yaml for project 'Test' (platform 'Windows'). Details: Error: Could not find match for YAML element PackageFolders
Operation completed with errors.  Took 0.0 seconds.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:37 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
svermeulencommented, Apr 22, 2016

Oh, oops, I didn’t make a release for this fix. I’ll do that today. If you don’t want to wait for that you can install by source which should have the fix.

0reactions
svermeulencommented, Apr 23, 2016

Ok I made a new release. If you end up trying it, let me know if it addresses your issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find YAML module - python
I am currently trying to use my YAML file but I get an error when trying to run my programme when it reaches...
Read more >
pip install not finding yaml
I have done pacman -Syu and updated the pip package. When I try to pip install yaml I get. ``` ERROR: Could not...
Read more >
nuget.config File Reference
NuGet.Config file reference including the config, bindingRedirects, packageRestore, solution, and packageSource sections.
Read more >
Check your YAML for errors with yamllint | Enable Sysadmin
Check for YAML violations in your code before it gets executed with yamllint.
Read more >
YAML: The Missing Battery in Python
In this tutorial, you'll learn all about working with YAML in Python. By the end of it, you'll know about the available libraries,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found