Im using vs tools for node.js to deploy an express application to an azure website through source control publishing using GIT.
I created a basic express application and pushed it to azure without making any changes to it. it failed to render complaining that it can't find the debug module.
looking closely into it I found that stylus wasnt able to download its debug dependency which is causing the website to fail.
the package.json of my expressapp looks like the following.
{ "engines": { "node": "0.10.21" }, "name": "ExpressApp1", "version": "0.0.0", "description": "ExpressApp1", "main": "app.js", "author": { "name": "Ahmad", "email": "" }, "dependencies": { "express": "3.4.4", "jade": "*", "stylus": "0.41.3" } }
the interesting thing is that express also depends on the debug module and it gets it just fine.
also, im able to get the debug module locally for stylus on my local dev machine.
any help would be appreciated in figuring out this issue.
I created a basic express application and pushed it to azure without making any changes to it. it failed to render complaining that it can't find the debug module.
looking closely into it I found that stylus wasnt able to download its debug dependency which is causing the website to fail.
the package.json of my expressapp looks like the following.
{ "engines": { "node": "0.10.21" }, "name": "ExpressApp1", "version": "0.0.0", "description": "ExpressApp1", "main": "app.js", "author": { "name": "Ahmad", "email": "" }, "dependencies": { "express": "3.4.4", "jade": "*", "stylus": "0.41.3" } }
the interesting thing is that express also depends on the debug module and it gets it just fine.
also, im able to get the debug module locally for stylus on my local dev machine.
any help would be appreciated in figuring out this issue.