Why this error w


9:45:48 AM: ​
9:45:48 AM: Packaging Functions from functions directory:
9:45:48 AM: - .eslintrc.js
9:45:48 AM: - index.js
9:45:48 AM: ​
9:45:52 AM: ​
9:45:52 AM: (Functions bundling completed in 4s)
9:45:52 AM: ​
9:45:52 AM: 3. Deploy site
9:45:52 AM: ────────────────────────────────────────────────────────────────
9:45:52 AM: ​
9:45:52 AM: Starting to deploy site from ‘build’
9:45:52 AM: ** ERROR **
9:45:52 AM: Calculating files to upload
9:45:53 AM: The following serverless functions failed to deploy: .eslintrc
9:45:53 AM: To deploy these functions successfully, change the function names to contain only alphanumeric characters, hyphens or underscores
9:45:53 AM: Section completed: deploying
9:45:53 AM: ​
9:45:53 AM: Configuration error
9:45:53 AM: ────────────────────────────────────────────────────────────────
9:45:53 AM: ​
9:45:53 AM: Error message
9:45:53 AM: Deploy did not succeed: [PUT /sites/{site_id}/deploys/{deploy_id}][422] updateSiteDeploy default &{Code:422 Message:Incorrect function names. Name should consist of only alphanumeric characters, hyphen & underscores}
9:45:53 AM: ​
9:45:53 AM: Resolved config
9:45:53 AM: build:
9:45:53 AM: command: CI= npm run build
9:45:53 AM: commandOrigin: ui
9:45:53 AM: publish: /opt/build/repo/build
9:45:53 AM: publishOrigin: ui
9:45:53 AM: functionsDirectory: /opt/build/repo/functions
9:45:53 AM: Execution cancelled
9:45:53 AM: Error running command: Command was cancelled
9:45:53 AM: Failing build: Failed to build site
9:45:54 AM: Shutting down logging, 1 messages pending

@shole Based on this message…

{Code:422 Message:Incorrect function names. Name should consist of only alphanumeric characters, hyphen & underscores}

You should check the name of any serverless functions that you have and ensure they conform to the naming requirements.