Netlify Support Forums
To use import or require for importing node-fetch for Netlify Serverless Functions? Both give errors
Support
lambda-functions
,
building
,
netlify-newbie
,
deployment
ronnlidd
January 17, 2022, 9:37am
5
Here you go:
GitHub - davidronnlid/movie-project
Can't import `node-fetch` in a Function in any way
show post in topic
Related topics
Topic
Replies
Views
Activity
Getting "must use import to load ES module" when using `node-fetch` in Netlify Functions
Support
lambda-functions
5
15716
January 14, 2022
Can't import `node-fetch` in a Function in any way
Support
lambda-functions
9
4351
June 15, 2022
Must use import to load ES Module error on production, but not local
Support
deployment
2
2239
May 1, 2022
Netlify Functions Can't find module
Support
lambda-functions
10
4992
December 10, 2020
Cannot use node-fetch in lambda function
Support
lambda-functions
2
9531
July 11, 2020