I am trying to get a bar chart visualization runni...
# gooddata-ui
s
I am trying to get a bar chart visualization running on gooddata CN following this example https://gdui-examples.herokuapp.com/ for the barchart and am getting the following error
Module '"../md/full"' has no exported member 'Ldm'
j
Hello Sheldon, me again 🙂 I see that you are importing
../md/full
and looking for `Ldm`… it used to be
../Ldm/full
and
Ldm
previously, but recently we renamed it to
../Md/full
and
Md
, so please check and unify (either
Ldm
, or
Md
).
s
okay
j
I'll make another note internally that we need to update our examples to respect the latest changes that happened with GD.UI v8.5.
s
No luck .. the full.js does not have exports for Md or MdExt
Does refresh-md take any parameters to control the exports generated? I dont see any in the source
j
Do not try the MdExt, that is also obsolete and will be fixed on our side.
But Md should totally work 🤔
s
It's not there in the generated json file from refresh-md
I can see the data model in the workspace on the gooddata-cn UI
Screen Shot 2021-08-30 at 5.03.25 PM.png
j
First, can you please confirm that the file in
src/md/full.js
is there and is not empty?
s
yes its there and not empty
j
Great, thank you.
Now, can you please try to import it like this:
import * as Md from "../md/full";
s
dang it... thanks 🙂
Okay I get it now