Has anyone run into this problem?
My build is currently failing to build a function which only uses the ‘node-fetch’ lib [0].
The build runs successfully using the local netlify deploy
but when I trigger a build using a push it fails saying:
3:41:04 PM: Prepping functions with zip-it-and-ship-it 0.3.1
3:41:05 PM: Error: Could not find “encoding” module in file: /repo/dist/utility-data.js.
3:41:05 PM: Please ensure “encoding” is installed in the project.
3:41:05 PM: Error prepping functions
[0] https://github.com/apearson/website/blob/master/src/functions/utility-data.ts
[1] https://app.netlify.com/sites/apearsonio/deploys/5d361f1e1f70200008913e49