Error: Could not find “encoding” module in file, Netlify function

Added “encoding” to package.json

Worked for me.
NB! Had to remove package-lock as well :wink:

1 Like