Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Trying to "Download Scaffold Zip Archive" from Menu gives this error: #42

Open
AlexanderKohl opened this issue Jul 18, 2018 · 3 comments

Comments

@AlexanderKohl
Copy link

hc-scaffold.js:1 Uncaught Error: {
"warnings": [
"schema.title should be a string for "opts.schemas.Feedback['Trust.json']"",
"given "CallingType" === "json", "InputSchemaFile" should be a string as a function-level property for "Feedback.Functions.TrustCreate"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.TrustCreate"",
"given "CallingType" === "json", "InputSchemaFile" should be a string as a function-level property for "Feedback.Functions.TrustRead"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.TrustRead"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.ShareTrustCreate"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.ShareTrustRead"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.ReceiveTrustCreate"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.ReceiveTrustRead"",
"given "CallingType" === "json", "InputSchemaFile" should be a string as a function-level property for "Feedback.Functions.ShareTrust"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.ShareTrust"",
"given "CallingType" === "json", "InputSchemaFile" should be a string as a function-level property for "Feedback.Functions.ShowPublicTrust"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.ShowPublicTrust"",
"given "CallingType" === "json", "InputSchemaFile" should be a string as a function-level property for "Feedback.Functions.ShowMyTrust"",
""ReturnType" should be either "json" or "string" for "Feedback.Functions.ShowMyTrust""
],
"errors": [
""CallingType" must be either "json" or "string" for "Feedback.Functions.ShareTrustCreate"",
""CallingType" must be either "json" or "string" for "Feedback.Functions.ShareTrustRead"",
""CallingType" must be either "json" or "string" for "Feedback.Functions.ReceiveTrustCreate"",
""CallingType" must be either "json" or "string" for "Feedback.Functions.ReceiveTrustRead""
]
}
at e.value (hc-scaffold.js:1)
at HTMLAnchorElement. (hc-scaffold.js:1)

@AlexanderKohl
Copy link
Author

This issue only happens when json or link is selected as a zome entry.

@maackle
Copy link
Collaborator

maackle commented Aug 12, 2018

This is actually fixed by #43, it just hasn't been merged yet...

@AlexanderKohl
Copy link
Author

Awesome, thank you.

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

No branches or pull requests

2 participants