canvas-ui
canvas-ui copied to clipboard
Uncaught error. Something went wrong with the query and rendering of this component. k.constructors[v] is undefined
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
Hello, I can see the same issue on my side, using https://paritytech.github.io/canvas-ui/, with following deps:
- Ubuntu 20.04,
cargo-contractv0.15, v016, v0.17substrate-contracts-nodev0.1.0, v0.5.0- Firefox 96.0
- Flipper contract built by this tutorial https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/
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
Thanks for letting us know!
We'll have updated tutorials & docs ready very soon. sorry for the inconvenience!
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 :)