Question

Deploying to azure sites fails if one of your npm modules requires compilation. Is there an easy way to audit packages.json so that people not on windows could more easily know when they're going to run into issues?

Was it helpful?

Solution

One way to do this is to terminal to your Azure website and try to install the specific npm packages there (npm install whatever), this way you see whether it's possible in that environment or not.

See the following on instructions to terminal to your Azure website: http://blogs.msdn.com/b/windowsazure/archive/2014/03/04/windows-azure-websites-online-tools-you-should-know-about.aspx.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top