-
Notifications
You must be signed in to change notification settings - Fork 9
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
azure-functions #48
Comments
In the past, I had issues as well with the azure deployment. Usually, you can find them out in the log: choose Log stream on the right in the azure function, then select File stream in the dropdown and then invoke the function. My recent trouble was that symlinks are not preserved (see eg Azure/webapps-deploy#54), which lead to "module not found" errors (since the symlink in the If you want, I can help diagnosing azure errors and maybe fix them. For this I obviously need temporary access to the test azure instance. Let me know at code@tobiasdiez.de in case you are interested in working together on the azure deployment. |
Am I right in thinking that Azure Function deployment does not work at present? At the moment I have errors with |
It works after you manually replace the symlinks, as eg in You might also need to replace some methods in http: https://github.com/JabRef/JabRefOnline/blob/main/server/api/index.ts#L13 |
Hmm, I am having other issues after replacing the symlinks. Images in my public folder arent being served and some scripts are strangely showing integrity errors. It looks like azure-functions isn't really in a working state. I think I'll have to use azure container instances instead. |
I recommend to use Container Apss, not Container instances. Just bundle the app into a docker image and use that in you Container App. PS: I am currently updating the Nitro Azure preset (which targets Static Web App) to use the new Azure Functions v4 model and newer Node versions. |
Let's track it in nitro side. If no progress, I would deprecate azure functions all together. We currently support Static Web App which kinda works, this functions that is half broken and Container which I didn't try but I imagine should be a standard conterized app. |
Static Web Apps is also broken when you use pnpm btw, as Oryx (the build engine under the hood of the swa deployment) doesn't support pnpm. We also have to update the node version, as we currently default to max 16. |
I just made a (local) deployment few days ago with SWA 😅 Default is 18 in edgem yes sadly they don't support Node.js 20 for CLI at leat. |
Local unfortunately behaves differently to the actual service. There are also differences between the service configurations in Azure as well as between free and standard tier 🙈 |
Describe the feature
Investigate why this worfklow is disabled.
Rename this workflow to "azure-function"
Additional information
The text was updated successfully, but these errors were encountered: