Enabling the ‘Build Plugins Beta’ causes my project to fail.
Here’s my netlify.toml:
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"
[build]
functions = "functions"
[[plugins]]
package = "netlify-plugin-gatsby-cache"
[dev]
functions = "functions"
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
I tried adding: package = “@netlify /plugin-functions-install-core” to the toml file, but that plugin doesn’t exist.
any ideas or help?
Thanks!
Hi @luchoster ,
Thanks for reporting this issue.
Could you please share a link to the deploy that failed?
Thanks!
I just enabled the builds plugin without any plugins defined in the toml file
Scott
May 26, 2020, 2:21pm
4
Hey @luchoster ,
Can you check out this topic and let me know if it helps clarify things? Cheers!
1 Like
It seems that adding the functions dependencies to the main package.json
, fixed it for me.
Hi all,
We have just fixed this issue. This should now worked, even without modifying your netlify.toml
nor package.json
. Please let us know if this does not. Thanks!
Thanks, everything seems to be working fine now.
2 Likes