node.js - Deploy to azure website and run grunt build tasks -
i trying continuous integration working azure website uses grunt, npm , bower build.
i have followed instructions here: http://www.cptloadtest.com/2013/12/03/git-and-grunt-deploy-to-windows-azure.aspx , have modified deploy.sh deployment section match.
when deploy following error message:
command: bash deploy.sh handling node.js grunt deployment. error has occurred during web site deployment. c:\program files (x86)\siteextensions\kudu\45.40522.1562\bin\scripts\selectnodeversion.js:115 select node version failed throw new error('usage: node.exe selectnodeversion.js <path_to_repo> <path ^ error: usage: node.exe selectnodeversion.js <path_to_repo> <path_to_wwwroot> [path_to_temp] @ object.<anonymous> (c:\program files (x86)\siteextensions\kudu\45.40522.1562\bin\scripts\selectnodeversion.js:115:11) @ module._compile (module.js:456:26) @ object.module._extensions..js (module.js:474:10) @ module.load (module.js:356:32) @ function.module._load (module.js:312:12) @ function.module.runmain (module.js:497:10) @ startup (node.js:119:16) @ node.js:906:3 does know try next?
i had problems doing build , deployment in visual studio online. added command line "npm.cmd cache clean" @ top of build definition. made work. maybe helps too.
Comments
Post a Comment