Project Name: cmi-www
I have a jekyll site that I’ve deployed many times.
Since the last successful deploy I played with the netlify dev feature and created a function. I didn’t do much with it but the result is that my usual deploy fails with Incorrect function names error. Somehow netlify thinks webpack.config is a function I want to deploy.
Here is output from netlify functions:list
Based on local functions folder /Users/rmercer/Projects/cmi/site/cmi-sources/cmi-www, these are the functions detected.
name: webpack.config url:/.netlify/functions/webpack.config deployed:no
I tried deleting the functions folder from .netlify but it just reappears after I run the deploy command. It must be coming from a cache somewhere.
Below is the deploy log message:
4:57:31 PM: ** ERROR **
4:57:31 PM: The following serverless functions failed to deploy: webpack.config
4:57:31 PM: To deploy these functions successfully, change the function names to contain only alphanumeric characters, hyphens or underscores
How can I recover from this? Thanks for your help!