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

Pursuit doesn't support current JSON schema for kind annotations in 'forall' contexts #398

Closed
matthew-hilty opened this issue Aug 4, 2019 · 2 comments

Comments

@matthew-hilty
Copy link

I've gotten the error message shown below after trying to publish a new version of a package.

It looks like Pursuit's version of the PureScript compiler (specifically, its typeFromJSON function) doesn't care for kind annotations in 'forall' contexts so much.

@hdgarrood mentions in #397 that the maintainers are planning on updating Pursuit against the latest compiler. This perhaps may be another reason for a new build.

* Uploading documentation to Pursuit...
* At the path: ["modules"][0]["reExports"][0]["declarations"][0]["children"][0]["info"]["type"]
Arising from an Aeson FromJSON instance:
cannot unpack array of length 4 into a tuple of length 3
Usually, this occurs because the JSON data was generated with a newer version of the compiler than what Pursuit is currently using, and the JSON format changed between compiler releases.
This data was generated with 0.13.2 of the compiler.
Pursuit is currently using 0.12.2.
You might be able to fix this by temporarily downgrading to 0.12.2 to generate the JSON data.

* ERROR: Expected an HTTP 201 response from Pursuit, got: 400
error Command failed with exit code 1.
@hdgarrood
Copy link
Collaborator

@matthew-hilty Pursuit has now been updated so this should work, can you try again please?

@hdgarrood
Copy link
Collaborator

I'm going to assume this is fixed; please let me know if it isn't.

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