Open acheung123 opened 5 years ago
@kulkarnisonia16
Was a solution ever found for this?
I have the same exact issue was any solution ever found?
I have the same exact issue was any solution ever found?
I had a combination of the bin folder included in the zip (delete it) and my function was not set to run in Java mode for new environments.
I have the same exact issue was any solution ever found?
I had a combination of the bin folder included in the zip (delete it) and my function was not set to run in Java mode for new environments.
My functions are nodejs, is what you're saying to basically delete the package-lock.json, package.json, and node_modules? Sorry if thats wrong I don't entirely know what you mean.
I have the same exact issue was any solution ever found?
I had a combination of the bin folder included in the zip (delete it) and my function was not set to run in Java mode for new environments.
My functions are nodejs, is what you're saying to basically delete the package-lock.json, package.json, and node_modules? Sorry if thats wrong I don't entirely know what you mean.
I doubt that would be the solution. I have no experience with the nodeJS functions, sorry
My functions are nodejs, is what you're saying to basically delete the package-lock.json, package.json, and node_modules? Sorry if thats wrong I don't entirely know what you mean.
have you made sure that your FUNCTIONS_WORKER_RUNTIME
is set correctly?
Solved my issue by using func azure functionapp publish $App --javascript --force
instead of zip deployment
Solved my issue by using
func azure functionapp publish $App --javascript --force
instead of zip deployment
something similar would fix mine for Java and after that, zip deployment worked. I believe that the publish command sets that for you
I think
cd target/azure-functions/
zip -r my-test-app.zip my-test-app/
should be
cd target/azure-functions/my-test-app/
zip -r my-test-app.zip .
I think
cd target/azure-functions/ zip -r my-test-app.zip my-test-app/
should be
cd target/azure-functions/my-test-app/ zip -r my-test-app.zip .
Yes, this approach is working for me. Thanks!
Our team currently is able to properly deploy Azure Functions using Maven with the Azure Functions Plugin.
We have tried exploring using zip deploys with both the Azure CLI and the zip deploy endpoint but with no success.
In both cases, I have confirmed the zip files were correctly uploaded to the Azure Function by downloading the app content after the zip deployments. From what I can see, the downloaded zip has the exact same files as the Maven Azure Functions Plugin deployment, but when we deploy with the zip methods the functions do not show up in Azure. Is there a deployment step we are missing?