Azure Web App node.js deploy fails -


we tried deploy new node.js version on azure web app. new source version retrieved our git repository on push.

it seems of files remain locked , blocking our new deployment, can do, , can avoid in future? (the locked file npm library has nothing app code)

updating iisnode.yml @ d:\home\site\wwwroot\iisnode.yml npm warn package.json express-livereload@0.0.24 no repository field. npm err! error: eperm, unlink 'd:\home\site\wwwroot\node_modules\azure_util\node_modules\pkgcloud\node_modules\aws-sdk\apis' npm err!  { [error: eperm, unlink 'd:\home\site\wwwroot\node_modules\azure_util\node_modules\pkgcloud\node_modules\aws-sdk\apis'] npm err!   errno: 50, npm err!   code: 'eperm', npm err!   path: 'd:\\home\\site\\wwwroot\\node_modules\\azure_util\\node_modules\\pkgcloud\\node_modules\\aws-sdk\\apis' } npm err!  npm err! please try running command again root/administrator. npm err! system windows_nt 6.2.9200 npm err! command "d:\\program files (x86)\\nodejs\\0.10.32\\node.exe" "d:\\program files (x86)\\npm\\1.4.28\\node_modules\\npm\\bin\\npm-cli.js" "install" "--production" failed exitcode=50, command="d:\program files (x86)\nodejs\0.10.32\node.exe" "d:\program files (x86)\npm\1.4.28\node_modules\npm\bin\npm-cli.js" install --production npm err! cwd d:\home\site\wwwroot error has occurred during web site deployment. 

azure web app , file locks annoying, stopping or resetting slot not remove file locks.

the way remove file lock @ command swap slot one.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -