How do I crack the Davinci Code?

default discord avatar
taun2160
2 months ago
7

I'm curious how devs decypher this at large scale projects with hundreds of collections and components?



[13:13:20] INFO (payload): Connected to MongoDB server successfully!
[13:13:20] INFO (payload): Starting Payload...
TypeError: Cannot read properties of undefined (reading 'fields')


Is there a way to learn more about the error?



I'm curious how devs decypher this at large scale projects with hundreds of collections and components?



How do I crack the Davinci Code?



I think I need to learn the Debug tool within VSCode...

  • discord user avatar
    alessiogr
    Payload Team
    2 months ago

    Can you share a minimal reproduction which causes that error? I think I can definitely improve it and make it more helpful

  • default discord avatar
    taun2160
    2 months ago

    Thanks @alessiogr . My question is more related to tools and proceses regarding debugging. I guess one runs the Debug tool and that reveals slightly more info to figure it out? With experience I'll have a good idea from there?

  • default discord avatar
    derosul
    2 months ago

    Well... normally you would get a stack trace on errors. Which makes debugging it wayyyyyyyy easier.

  • default discord avatar
    taun2160
    2 months ago

    Thanks Dennis, I'll look into that.

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.