I previously reported that dependencies are not being automatically installed in my 4 functions under /functions/foo/package.json
and /functions/bar/package.json
, etc.
I have added to netlify.toml
the following plugin:
[[plugins]]
package = “@netlify/plugin-functions-install-core”
This seems to be the solution, but builds are failing with:
Request must be smaller than 69905067 bytes for the CreateFunction operation
Any insight on what could be causing this error?
My functions are all relatively simple, mostly only calling node-fetch
, firebase-admin
and one other dependency.
It seems self-evident that we would want dependencies in functions to be npm install
ed. It’s hard for me to understand why information on how to make this happen isn’t readily available.