canvas-ui icon indicating copy to clipboard operation
canvas-ui copied to clipboard

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

Open punishell opened this issue 3 years ago • 5 comments

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

​


punishell avatar Jan 21 '22 12:01 punishell

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

  • Ubuntu 20.04,
  • cargo-contract v0.15, v016, v0.17
  • substrate-contracts-node v0.1.0, v0.5.0
  • Firefox 96.0
  • Flipper contract built by this tutorial https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/

Marcin-Radecki avatar Jan 24 '22 13:01 Marcin-Radecki

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

statictype avatar Jan 24 '22 13:01 statictype

Thanks for letting us know!

Marcin-Radecki avatar Jan 24 '22 13:01 Marcin-Radecki

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

statictype avatar Jan 24 '22 13:01 statictype

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 :)

Marcin-Radecki avatar Jan 24 '22 14:01 Marcin-Radecki