I am missing something simple enough at the beginning of my research at Node.js. I am trying to create a small application using passport authentication.
I have the following line in app.ts:
import passport = require("passport");
and the following im my package.json:
{
"name": "ftct",
"version": "0.0.0",
"description": "ftct",
"main": "app.js",
"author":
{
"name": "Mark.Norgate",
"email": ""
},
"dependencies":
{
"express": "3.4.4",
"jade": "*",
"passport": "^0.3.2",
"stylus": "*"
}
}
However, Visual Studio 2015 complains:
Build: Cannot find module 'passport'.
What am I missing? I got a little familiar with the documentation for passport documents, but so far nothing indicates what could be the problem.
source
share