Express for Web 2013 Update 3
Create new console app
npm install azure
npm install mongoose
Type this:
var mongoose = require(
and see if mongoose and azure are in the list of completions.
Restart VS and reload solution, and try again. For me, I am not seeing them in the list of completions.
My CPU usage for VS is at 0%, and status says analysis is done.
Analysis file is attached, it's around 1MB.

After disabling saving analysis file, I got the right completions. Then I reenabled, and I still get completions even after restarting. And now my analysis file is 128MB, which looks more correct.
Edit: After more VS restarting, my analysis file is back to 1MB, and I don't get any completions on azure or mongoose.
Comments: In the cases where the completions are missing, the ModuleTree item representing the project root does not contain a subtree for node_modules. I suspect this is a race-condition between loading the cached analysis (when the analysis does not contain a serialized ModuleTree for node_modules) and generating the tree (as the package.json files are detected by project load). However, I haven't been able to reproduce this, even with breakpoints and frozen threads. Another possibility is that npm is locking all of the package.json files for long enough that we give up trying to add them and so never complete the tree. Alternatively, something in the json files causes our parser to think they're invalid, though that doesn't seem to be the case anywhere here. The workaround seems to be closing the project, deleting the cached analysis, and reloading.
Create new console app
npm install azure
npm install mongoose
Type this:
var mongoose = require(
and see if mongoose and azure are in the list of completions.
Restart VS and reload solution, and try again. For me, I am not seeing them in the list of completions.
My CPU usage for VS is at 0%, and status says analysis is done.
Analysis file is attached, it's around 1MB.

After disabling saving analysis file, I got the right completions. Then I reenabled, and I still get completions even after restarting. And now my analysis file is 128MB, which looks more correct.
Edit: After more VS restarting, my analysis file is back to 1MB, and I don't get any completions on azure or mongoose.
Comments: In the cases where the completions are missing, the ModuleTree item representing the project root does not contain a subtree for node_modules. I suspect this is a race-condition between loading the cached analysis (when the analysis does not contain a serialized ModuleTree for node_modules) and generating the tree (as the package.json files are detected by project load). However, I haven't been able to reproduce this, even with breakpoints and frozen threads. Another possibility is that npm is locking all of the package.json files for long enough that we give up trying to add them and so never complete the tree. Alternatively, something in the json files causes our parser to think they're invalid, though that doesn't seem to be the case anywhere here. The workaround seems to be closing the project, deleting the cached analysis, and reloading.