-
Notifications
You must be signed in to change notification settings - Fork 59
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
Node version error creating Azure Static Web Apps #973
Comments
Hi @gabrielizalo Can you try specifying the node version in Also just curious, as you're providing api_location and also output_location, are you using |
@vivekjilla Thanks for the tip. You were right. I used:
Also you asked me about
I don't use Any ideas about the new error? |
IN this document: Deploy hybrid Next.js websites on Azure Static Web Apps said that:
So I can't used Azure for my app. 😢 |
Hey @gabrielizalo sorry for this inconvenience. Can you please checkout this discussion and see if the workaround mentioned here helps reduce your app size: #769 (comment) |
@vivekjilla Yes... I already tried it. But as I'm using MUI and other libs my project is very big. Like 200 MB. |
Describe the bug
I used the Azure wizard to publish a Next JS App in GitHub to a new Static Web App.
The Azure Wizard uses this
yaml
file:azure-static-web-apps-brave-mud-030f7e20f.yml
My problem: Appears this error in the
Build and deploy job
:Summary:
Also in the details appears this error:
To Reproduce
Just use the Portal Azure Wizard to publish a Next JS App.
Expected behavior
Build and deploy should work without errors.
Additional context
How can I fix the
yaml
file? In the one I have, that Azure provided, I can't setup Node version.The text was updated successfully, but these errors were encountered: