datopian / datahub

🌀 Rapidly build rich data portals using a modern frontend framework
https://www.portaljs.org
MIT License
2.2k stars 328 forks source link

Datapackage endpoints are broken #1097

Closed anuveyatsu closed 8 months ago

anuveyatsu commented 8 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 8 months ago

Closing as duplicate of datopian/datahub#1096