You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made an Azure Function micro service using Node.js and I'm using node-chartist to generate graphs. Locally is working fine, but when deploying to development environment, it is executed a script that executes azure-functions-pack and generate a bundle with the service code and all the required npm modules and it seems that for some reason the function generate changes from function to an empty object. In my code I have this:
Hi,
I made an Azure Function micro service using Node.js and I'm using node-chartist to generate graphs. Locally is working fine, but when deploying to development environment, it is executed a script that executes azure-functions-pack and generate a bundle with the service code and all the required npm modules and it seems that for some reason the function generate changes from function to an empty object. In my code I have this:
When using node-chartist I get on the first request the following error in my azure logs:
Locally if I make console.log(typeof generate); I have a function, but if I do the same in development I get an empty object {}.
My node-chartist version is 3.10.10. Thanks for any help.
The text was updated successfully, but these errors were encountered: