Questions tagged [ntvs]

Node.js Tools for Visual Studio

Node.js Tools for Visual Studio is an official Visual Studio extension developed by Microsoft that adds support for editing, profiling and debugging of Node.js code in Visual Studio.

41 questions
3
votes
3 answers

Node.js with TypeScript: calling node.js function instead of standard

please help me with the following problem. I created default node.js app with express using Visual Studio nodejs tools and now I'm trying to call setTimeout function that is declared in node.d.ts. The code is like this: var timer: NodeTimer; timer =…
Ksenia
  • 351
  • 5
  • 10
3
votes
0 answers

The specified procedure could not be found. bson.node

When using visual studio to debg a node project, I get the following error Error: The specified procedure could not be found. …
cja100
  • 199
  • 2
  • 14
2
votes
1 answer

Intellisense errors in new Node Tools Express App project

I just created a new project using the "Basic Node.js Express 4 Application" template, and the project appears to already have errors: Is this a bug in Visual Studio? How do I fix the errors?
Ryan Cavanaugh
  • 209,514
  • 56
  • 272
  • 235
2
votes
1 answer

Using npm in Visual Studio 2015

When using npm in Visual Studio with NTVS, what are the options that are in effect? How do I apply --save or -g? Will it corrupt the Visual Studio project in anyway if I were to run npm outside of Visual Studio on the command line directly?
Old Geezer
  • 14,854
  • 31
  • 111
  • 198
2
votes
1 answer

Structuring a NodeJS app using Angular and NodeJS Tools for Visual Studio

I would like to know how do you usually organize your application structure when building a NodeJS application using nvst. When I create my app it automatically build up this structure for me: So, the first thing that came to my mind was, where…
Bruno Casarotti
  • 623
  • 8
  • 23
2
votes
1 answer

Node.js Typescript inclusions

I'm seriously considering switching to Node.js from PHP. But I don't really like the prototyping in Javascript so I would favor Typescript over this. I was just testing the basics and created a new (Typescript) Express project in Visual Studio…
2
votes
1 answer

Node js project error in Visual Studio. "The specified path, file name, or both are too long"

I create Blank Express Application in Visual Studio 2013. After it installs npm modules I run it. it works well with no errors. But if I close solution and than open it again project load failes and I see errors in output window saying "The…
Clansman
  • 21
  • 2
  • 3
1
vote
0 answers

unable to install NPM package in visual studio 2013

I am trying to install npm packages in Visual Studio 2013 using package manager. When I right click and select install new/missing packages and search for package(eg:ejs) I get No Result found message. and I checked the npm install output which I…
acodeman
  • 11
  • 6
1
vote
1 answer

Node for Visual Studio with Nodemon

I'm currently using Node Tools for Visual Studio (NTVS), and i'm currently attempting to use nodemon to restart the Node application upon code change. I've implemented nodemon in the VS project settings, which works initially. The server starts…
James Amos
  • 316
  • 1
  • 10
1
vote
1 answer

Mocha unit tests are NOT found in NTVS

I'm trying to get Mocha unit tests written in TypeScript to work in Visual Studio 2015 Community Edition in Node Tools for Visual Studio. I'm getting this error (in the Output window, Tests section): ------ Discover test started ------ Processing: …
Bart
  • 5,065
  • 1
  • 35
  • 43
1
vote
2 answers

The "AssignTargetPath" task failed unexpectedly

I suddenly got this error when building/debugging my Node project with Node Tools for Visual Studio (v1.1, not RC anymore). I was using Visual Studio Community Edition 2015 . I use Typescript, and also have the currently latest version of…
Bart
  • 5,065
  • 1
  • 35
  • 43
1
vote
0 answers

Nodeunit testing with Visual Studio 2015 Community (NTVS installed)

I would like to know if there is any tool that would allow me to test and run nodeunit tests in Visual Studio Community 2015 (with Node tools installed). I've heard of VsNodeTest but it's not compatible with Visual Studio 2015. Is there any tool or…
1
vote
0 answers

Is there a way to use WinSCP from Visual Studio to transfer files to a target (Linux) device

Is it possible to integrate WinSCP (or equivalent) with Visual Studio 2015, so that any of my node edits can be first transferred to my target Linux (embedded) device and then start up a remote debug session (using NTVS's RemoteDebug.js)? I do…
HiDefLoLife
  • 555
  • 1
  • 8
  • 28
1
vote
0 answers

JavaScript Intellisense in Visual Studio Community 2013 with NTVS (Node.js Tools)

Using VS2013 Community Edition with Nodejs Tools for Visual Studio, the issue is that the intellisense for js files && classes is not working at all. Dont have Resharper installed so it is not related to it. I looked into text editor-> javascript ->…
Resems
  • 21
  • 3
1
vote
2 answers

How to compile a nodejs Typescript project with classes in separate files within NTVS?

NTVS = Node Tools for Visual Studio I created a new project with the server.js as main file. Then created several classes, each one in their file. All those files are referenced in a references.ts file. All files contain a reference to…
bokan
  • 3,601
  • 2
  • 23
  • 38