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
A workaround we found for that we removed all the symlinks from the artifact we try to "zipDeploy". It works well, as the webappLinux can handle correctly symlinks (created after the deployment). However when doing other deployments afterwards, kudusync does heavy comparisons about files that should be added/removed between the artifact we're trying to deploy and the one that was already shipped in the webapp. This has for consequence of triggering errors during the deploy phase such as Error: ENOENT: no such file or directory, stat '/home/site/wwwroot/common/temp/node_modules/.pnpm/@fastify[email protected]/node_modules because Kudu can't handle symlinks correctly.
Is there any way of disabling that comparison and just remove everything from the destination folder and re-deploy everything with no comparison process trying to resolve symlinks? Currently it prevents us from deploying correctly our monorepos and prevent us from benefiting of the latest features available in the Node.js ecosystem.
The text was updated successfully, but these errors were encountered:
@jdkemme I ended up zipping my node_modules folder before running the deploy script (which my entire app folder) and after deployment i unzip it myself, this got me over the annoying deployment failed issue until I find the time to migrate to a proper Docker deployment
Related to projectkudu/kudu#3420
Hello,
I'm currently struggling using the zipDeploy deployment method using the AzureWebApp@1 task which appears to not support symlinks (related Azure/webapps-deploy#54, projectkudu/kudu#3295, projectkudu/kudu#3229).
A workaround we found for that we removed all the symlinks from the artifact we try to "zipDeploy". It works well, as the webappLinux can handle correctly symlinks (created after the deployment). However when doing other deployments afterwards, kudusync does heavy comparisons about files that should be added/removed between the artifact we're trying to deploy and the one that was already shipped in the webapp. This has for consequence of triggering errors during the deploy phase such as Error: ENOENT: no such file or directory, stat '/home/site/wwwroot/common/temp/node_modules/.pnpm/@fastify[email protected]/node_modules because Kudu can't handle symlinks correctly.
Is there any way of disabling that comparison and just remove everything from the destination folder and re-deploy everything with no comparison process trying to resolve symlinks? Currently it prevents us from deploying correctly our monorepos and prevent us from benefiting of the latest features available in the Node.js ecosystem.
The text was updated successfully, but these errors were encountered: