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
{{ message }}
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
When doing a git push in order to deploy an application, Kudu doesn't sync some files in node_modules because their creation date is always 26th october 1985. The git push is made to the folder site/repository and the sync is made to site/wwwroot, but as the timestamp of some files in the Node dependencies doesn't change, they are not copied.
Repro steps.
git push to the folder site/repository
npm install --production inside site/repository. It installs the dependencies and some of the files have creation date: 26th october 1985.
Kudu copies the modified files from site/repository to site/wwwroot. As Kudu looks for the files that have different timestamp, it doesn't copy some of them even when they have different content.
The log/error given by the failure.
There aren't errors. Kudu just ignores the files on the sync between site/repository and site/wwwroot.
System and versions
Web Application using Windows.
Node 12.15.0
NPM 6.13.4
This issue is similar to this one, but doing a git push instead of a ZIP deployment.
Below is the current copying implementation. Please file gissue to KuduSync.NET to allow CopyAlways option. You will need to provide custom deployment as a workaround.
When doing a
git push
in order to deploy an application, Kudu doesn't sync some files innode_modules
because their creation date is always 26th october 1985. Thegit push
is made to the foldersite/repository
and the sync is made tosite/wwwroot
, but as the timestamp of some files in the Node dependencies doesn't change, they are not copied.Repro steps.
git push
to the foldersite/repository
npm install --production
insidesite/repository
. It installs the dependencies and some of the files have creation date: 26th october 1985.site/repository
tosite/wwwroot
. As Kudu looks for the files that have different timestamp, it doesn't copy some of them even when they have different content.The log/error given by the failure.
There aren't errors. Kudu just ignores the files on the sync between
site/repository
andsite/wwwroot
.System and versions
This issue is similar to this one, but doing a git push instead of a ZIP deployment.
Related npm issue.
The text was updated successfully, but these errors were encountered: