Netlify Support Forums
Error: Could not find “encoding” module in file, Netlify function
Support
lambda-functions
kristjanreinhold
May 14, 2020, 6:10pm
18
Added “encoding” to package.json
Worked for me.
NB! Had to remove package-lock as well
1 Like
Deploy failed due to an error in @netlify/plugin-functions-core plugin
show post in topic
Related topics
Topic
Replies
Views
Activity
Plugin "@netlify/plugin-functions-core" internal error
Support
building
,
lambda-functions
15
1691
November 12, 2020
Deploy failed due to an error in @netlify/plugin-functions-core plugin
Support
building
,
deployment
,
lambda-functions
,
netlify-cli
11
5412
December 8, 2020
"Error: Cannot find module 'node-fetch'" when deploying function
Support
lambda-functions
10
14400
February 26, 2021
Failed during stage 'preparing site for deployment': exit status 1
Support
8
3437
July 30, 2019
Function compiled with netlify-lambda throwing a dependency error once deployed
Support
building
,
deployment
,
lambda-functions
4
2013
May 10, 2020