-
Notifications
You must be signed in to change notification settings - Fork 56
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
Deploying nextjs app with pnpm causes Webapp warmup timeout
#1457
Comments
Webapp warmup timeout
Webapp warmup timeout
This was a problem for me to, it was based on node_modules not being in the right place or symlinked. For me it was important to to the following in the .npmrc
which means NO SYMLINKS, but also keep a full node_modules in each project in the shared workspace. If I hoisted the modules to the shared workspace then it would fail with that exact error. However beware, using this configuration you might run into this problem: pnpm/pnpm#6584 |
Same issue here, but intermittent. |
Thanks @petero-dk , I will give this a try in the near future. |
Yeah @petero-dk , this resolved the issue for me too. Thanks so much! |
Description
I have a Github Actions workflow that has been successfully deploying my nextjs app using npm to Azure Static Webapps for a few weeks. I migrated to
pnpm
for improved dependency management- it was a few lines of code to change. This builds fine locally, but on Github, the build consistently fails with this message:Note: typically before this change this check would take about 20 seconds before I get a valid response from the app and the build completes.
To Reproduce
Here are the key files involved (I can't link directly to source, private repo).
Expected behavior
Deployment would succeed and I would be able to access the static web app at the preview URL provided by the build.
Screenshots
n/a
Device info (if applicable):
n/a
Additional context
Not sure what else would help, let me know!
The text was updated successfully, but these errors were encountered: