datopian / datahub

🌀 Rapidly build rich data portals using a modern frontend framework
https://datahub.io/opensource
MIT License
2.17k stars 322 forks source link

Datapackage endpoints are broken #1097

Closed anuveyatsu closed 2 months ago

anuveyatsu commented 2 months ago

I can't fetch datapackage.json of datasets, eg, if I request https://datahub.io/core/country-list/datapackage.json I can the following error:

MDX parsing error:

[next-mdx-remote] error compiling MDX: Could not parse expression with acorn: Unexpected content after expression 1 | { > 2 | "name": "country-list", | ^ 3 | "title": "List of all countries with their 2 digit codes (ISO 3166-1)", 4 | "sources": [ More information: https://mdxjs.com/docs/troubleshooting-mdx

Screenshot:

Screenshot 2024-03-12 at 10 29 22 PM

How to reproduce

Expected behavior

Loads JSON with metadata in frictionless spec.

anuveyatsu commented 2 months ago

Closing as duplicate of datopian/datahub#1096