Closed jon890 closed 2 years ago
Hi 👋 same here 🙏
Hey 👋 Thanks for raising this! Are you just using a standard Next.js app so I can try to reproduce?
@lorisleiva Hi! yes just using a standard Next.js app 😄 I was digging the code and I am wondering it is because this part is not returning anything:
Hey 👋 Thanks for raising this! Are you just using a standard Next.js app so I can try to reproduce?
Yes I'am using standard Next.js, so you can try to reproduce this bug
Hello 👋 it happens to me as well, when I upgraded to "v0.10.0" from "v0.9.0", I am using "Angular" for front-end, "NestJS" for back-end and it is a monorepo bundled with "nx".
Most likely it has to do with the webpack? I can provide more information if it is helpful
Thanks, everyone! I've had a quick look at the code and I think I know what could be causing this. I've released a potential fix in version 0.11.1
. Would you mind trying it out and telling me if it works? I've not had the time to reproduce the issue just yet.
P.S.: The npm package recently got renamed from @metaplex-foundation/js-next
to @metaplex-foundation/js
, so make sure you're using the right package as well. 😊
@lorisleiva Thank you so much! It worked!!!! 🎉
Just curious, it returns 2 items but it is supposed to be 8 items. by the candyMachineId. Do you have any idea why?
I was running into this issue as well but upgrading to version 0.11.1
fixed it. Thank you @lorisleiva! 🙏
Great! I'm glad it worked haha. I'll close this issue then.
With regards to the number of NFTs returns by that method, it could be because only two NFTs out of the eight were minted. This method only returns NFTs that were minted from a candy machine. The once still "in the candy machine" do not count as they are technically not NFTs yet.
Thanks!
Great! I'm glad it worked haha. I'll close this issue then.
With regards to the number of NFTs returns by that method, it could be because only two NFTs out of the eight were minted. This method only returns NFTs that were minted from a candy machine. The once still "in the candy machine" do not count as they are technically not NFTs yet.
Ahhh got it!! It totally makes sense. Thank you so much for answering the question 🙏
I don't know resolving this problem. Maybe webpack bug..? I'm using
Here is my code
and this is error