Been using MS botframework for a couple months. Developing with the emulator in node and using continuous integration to push to Azure.
Pushed last Wednesday and tested with no problems. Made two very inconsequential code changes and pushed on Friday and no I'm getting:
Exception while executing function: Functions.messages. mscorlib: Unable to determine function entry point. I tried redeploying the older version, same thing.
Thoughts?
In my case, the root cause is having 1 named export & 1 default export. To fix this, only export default 1 thing in the entrypoint file (index.js in my case) Leaving here as a trail in case someone faces the same thing
The function entrypoint is determined based on this logic. As you can see, the flow is:
function.json
, use thatrun
or index
(in that order)I suspect you were in branch #2, and your minor change introduced new functions, so the runtime is now attempting to locate a function named run
or index
and that doesn't exist.
Can you please make sure your primary entry point function is named run
or index
and try again?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With