Random crashes with "Maximum call stack size exceeded"

Just ignore that comment if you are happy with the command line.

If you are feeling adventurous, you could always build the nmea package into a custom node :mage:

But for now, if you look at the settings.js file in your userDir folder, you will see the globals section with some examples. Just adjust one of the examples for the nmea package and you will be fine.

In settings.json

    functionGlobalContext: {
        nmea: require('nmea-0183'),
    },

In your function:

const nmea = global.get('nmea')
...
1 Like