Closed danforbes closed 2 years ago
There may well be a few more of these - if there are more than a couple I'll create a new issue to work through the build error queue.
This one should be working now though.
I'm trying to use @polkadot/api
and it still doesn't seem to be working 😣 Thanks for your attention so far 🙏🏻 Here is the web UI you provide (https://generator.jspm.io/#U2VhYGBkDM0rySzJSU1hcCjIz8lOTMkv0U8syHQw0zM00jPSNTQHAAirKSEmAA):
Via Deno, it just hangs here:
No problem, finally got this working via https://generator.jspm.io/#U2VhYGBkDM0rySzJSU1hcCjIz8lOTMkv0U8syHQw0zM00jPSNTQHAAirKSEmAA but it's giving an issue in the sandbox that there's an export missing.
As far as I can tell though, that issue is a valid named export bug - @poladot/types-create doesn't have a 'mapXcmTypes' export at all, so perhaps this is something that is just passing Webpack / Rollup builds since they don't do strict checking or something like that?
cc @jacogr
I would certainly not suggest building any of the current betas - there is work ongoing for a new major release, so all these are expected. Stick to the stable versions - in this case I don't even pull in the betas into the other @polkadot
projects at this state, there are too many breakages.
TL;DR All expected, these are marked beta for a reason :) (PS: IT is exported way past -12, see https://bundlephobia.com/package/@polkadot/types-create@6.12.2-20)
Reporting CDN Build Error.