Error From Node Modules Folder When Deploying From Github

I keep getting this error when trying to deploy from github: ‘deploying site’: Invalid filename ‘node_modules/es5-ext/reg-exp/#/sticky/is-implemented.js’. Deployed filenames cannot contain # or ? characters

Hi there @buffwire , You can’t have a # in a deployed the directory name! Can you clarify why you are deploying your node_modules? typically you wouldn’t do that since your frontend can’t consume it directly, rather it’s bundled in by webpack or other bundlers. You can also include them in your function deployments.