Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

New Post: Unable to download debug module using npm while deploying to azure

$
0
0
Did you do the git push from the command line or from within Visual Studio? I just went through the following steps and the only issue I ran into is that the jade template needs to be updated to use "doctype html" instead of "doctype 5".
File->New Project
Select Express App
Uncheck "Create directory for solution"
Create project, don't install dependencies when prompted
Right click on solution node and Add Solution to Source Control
Choose Git
Switch to Team Explorer window, enter commit message, and press Commit
Fix doctype string
Open command prompt in project
git remote add azure ...
git push azure master
At this point you should see a bunch of output from KuduSync. If you don't select "Create directory for solution" Kudo doesn't recognize this as a Node.js app and does basic deployment. You should see the result of running the various npm installs here and for Stylus I see that we successfully install debug:
remote: stylus@0.42.0 node_modules\stylus
remote: +-- css-parse@1.7.0
remote: +-- debug@0.7.4
remote: +-- mkdirp@0.3.5
remote: +-- sax@0.5.8
remote: +-- glob@3.2.7 (inherits@2.0.1, minimatch@0.2.14)
Maybe there was an intermittent network issue which causes it not to be installed remotely?


From there I'm able to browse to the site and see Welcome to Express.

If those steps don't work for you can you post back the result of doing the git push from the command line?

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>