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

Uncaught error. Something went wrong with the query and rendering of this component. k.constructors[v] is undefined #119

Open
punishell opened this issue Jan 21, 2022 · 5 comments

Comments

@punishell
Copy link

punishell commented Jan 21, 2022

So this error pops up in a fresh environment when uploading a contract:
Uncaught error. Something went wrong with the query and rendering of this component. k.constructors[v] is undefined

TypeError: k.constructors[v] is undefined
    ne https://paritytech.github.io/canvas-ui/main.22e9dd4c.js:2
    mi https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    useMemo https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    Hd https://paritytech.github.io/canvas-ui/main.22e9dd4c.js:2
    Qo https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    zi https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    wl https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    pu https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    du https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    ru https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    a https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    unstable_runWithPriority https://paritytech.github.io/canvas-ui/other.01.7c334df9.js:2
    Ba https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    $a https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    qa https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    Xl https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    vi https://paritytech.github.io/canvas-ui/react.01.a11fcbd2.js:2
    f https://paritytech.github.io/canvas-ui/main.22e9dd4c.js:2
    o https://paritytech.github.io/canvas-ui/main.22e9dd4c.js:2
    onload https://paritytech.github.io/canvas-ui/main.22e9dd4c.js:2
react.01.a11fcbd2.js:2:153710

​


@Marcin-Radecki
Copy link

Marcin-Radecki commented Jan 24, 2022

Hello, I can see the same issue on my side, using https://paritytech.github.io/canvas-ui/, with following deps:

@statictype
Copy link

statictype commented Jan 24, 2022

Hey, guys! Canvas UI hasn't been maintained lately and we are working on a replacement for it. We are a couple weeks away from launching the new app. Please use https://polkadot.js.org/apps/#/contracts in the meantime, everything works there.
Even better, check out the Canvas UI replacement and let us know what you think. Thanks!
https://github.com/paritytech/contracts-ui

@Marcin-Radecki
Copy link

Thanks for letting us know!

@statictype
Copy link

We'll have updated tutorials & docs ready very soon. sorry for the inconvenience!

@Marcin-Radecki
Copy link

Marcin-Radecki commented Jan 24, 2022

I can confirm https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/ works like a charm with new tool https://github.com/paritytech/contracts-ui :)

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

3 participants