Failed continuous deployment in Visual Studio Online for Node.js node modules?

I created an Azure Node.js Express Starter app in a local git repository connected to Visual Studio Online and want to use continuous integration technology to deploy to Azure Websites. In my build definition I selected setup_web.cmd located in bin folder as the pre-built script path to install node_modules automatically, but msbuild gives an error. I can't install node_modules on Azure Websites. How can I fix this problem?

Assembly definition: enter image description here

MsBuild error: enter image description here

+3


source to share


1 answer


There is no need to run setup_Web.cmd as I assume Node.js modules in Azure sites are enabled via IISNODE. All you have to do is write some code for server.js. More on this at http://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-develop-deploy-mac/



0


source







All Articles