-
Notifications
You must be signed in to change notification settings - Fork 457
Manual change required to use node runtime in consumption plan function app #3584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@hartra344 - can you comment on the logic used to choose FUNCTIONS_WORKER_RUNTIME? Would FUNCTIONS_WORKER_RUNTIME have to be defined in local.settings.json, or does a Dropbox deployment even look for this? |
@mhoeger according to the documentation on host.json, there appears to be nowhere to define the runtime. It would make sense to do so, given that you can only use one language across the function app, and shouldnt have to manually set this value in the portal. Also - you do explicitly set the 'Runtime stack' when creating a function via the portal, so this should propagate through to the created function app. |
I have a similar issue with a freshly created JavaScript HTTP trigger function in VS Code, and then deployed to Azure. |
I'm going to be closing this issue in favor of this tracking issue: #3120 Adding the FUNCTIONS_WORKER_RUNTIME setting to host.json (and therefore source controlled and deployed code) will solve this. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Investigative information
Please provide the following:
Repro steps
Expected behavior
returns 200 OK and 'Hello roger'
Actual behavior
Provide a description of the actual behavior observed.
returns 404 not found
workaround
manually change
FUNCTIONS_WORKER_RUNTIME
fromdotnet
tonode
The text was updated successfully, but these errors were encountered: