Ive deployed a small node.js application that works fine locally in visual studio 2015 prior to Azure using the Azure publish option (right click - publish - azure profile, etc.). However, when I visit the site, all I see on the page is:
The page cannot be displayed because an internal server error has occurred.
If I connect the VS server explorer to an Azure instance to view the logs, inside logging-errors.txt I can see the following logged many times:
Wed Jul 29 2015 12:22:36 GMT+0000 (Coordinated Universal Time): Unaught exception: Error: Cannot find module 'ms' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (D:\home\site\wwwroot\node_modules\debug\debug.js:14:20) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)
This is a new web application provided through the preview portal.
There is no ms package defined both in the project dependencies and in the node_modules folder, so I assume that this is the Microsoft / Azure package needed to host on Azure.
Did I skip the step in βpreparingβ my node application for Azure, or is there some other configuration step I need to complete?
thanks
source share