How to upgrade the node

Creating a discord embed this happened

TypeError: fields.flat is not a function

Someone told me to upgrade the Node, and have never payed attention to this, never caused me problems, but now i think it did: Each time I open console this appears

Could not find Node null, using Node 10

Hi there @AylanJ123!
Here’s what you need to add to your package.json file:

{ "engines" : { "node" : "12.x" } }

Hope this helps :slight_smile: