Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAMLException: incomplete explicit mapping pair #6

Open
momo-the-monster opened this issue Feb 2, 2023 · 3 comments
Open

YAMLException: incomplete explicit mapping pair #6

momo-the-monster opened this issue Feb 2, 2023 · 3 comments

Comments

@momo-the-monster
Copy link

We got this error when trying to use this action to make a .unitypackage for an UdonSharp release.

file:///home/runner/work/_actions/pCYSl5EDgo/create-unitypackage/cfcd3cf0391a5ef1306342794866a9897c32af0b/node_modules/js-yaml/dist/js-yaml.mjs:1273
  return new exception(message, mark);
         ^
YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line (15:7)

 12 |   validateReferences: 1
 13 |   platformData:
 14 |   - first:
 15 |       : Any
------------^
 16 |     second:
 17 |       enabled: 0

Any idea what we can do to fix this?

@momo-the-monster
Copy link
Author

Ah - it looks like these meta files had invalid YAML. Not sure why, but the fix was to move the colon to after the 'Any' like this:
image

@momo-the-monster
Copy link
Author

Oof - making these modifications actually broke the referenced DLLs, so this was not a good fix. Reopening.

@pCYSl5EDgo
Copy link
Owner

Thanks for @kb10uy
This issue would be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants