I'm using VS 2015 for developing NodeJS console applications.
I have just created a new project from ExpressApp template. I wanted to use 'azure-storage' packages in code.
I installed using the npm wizard VS 2015 offers and I can see the package installed in the Solution explorer under 'npm'. Yet, I cannot require:
import azure = require('azure-storage');
Saying:
cannot find module 'azure-storage'
cannot find external module file by specified path.
You can see this in the attached picture.
Here's what I did following these two posts: post 1 post 2 What can I do else? thanks
node_modulesfolder and make sure the lib did actually install correctly. If it's there, delete the folder & rerunnpm installjust to be sure. Also, I'm not familiar with theimportkeyword in Node, is that an ES6 feature? In ES5 you would dovar azure = require('azure-storage').