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
0
votes
1 answer

Visual Studio will not launch Chrome when running Node.js

I am using Node.js Tools for Visual Studio with VS 2015. When I click run the app (hit the Chrome button with green arrow) my Express server starts listening. However Visual Studio doesn't automatically launch Chrome. When I open Chrome myself,…
TheCrazyProgrammer
  • 7,918
  • 8
  • 25
  • 41
0
votes
1 answer

IntelliSense doesn't work for files in Public folder in Node.js solution in VS 2015

I have Node.js Tools for Visual Studio (NTVS) and am developing an Express 4 application in Visual Studio. I added some JavaScript files to "public" folder. Sadly, for some reason the IntelliSense is not working for those JavaScript files.…
0
votes
1 answer

Typescript inheritance where datatypes in IntelliSense is any instead of expected number

I have a tiny code implementation in Typescript where I have a class either implementing an interface or extending a class. interface ITest { run(id: number): void } abstract class Test implements ITest { abstract run(id); } class…
Lostfields
  • 1,364
  • 1
  • 12
  • 20
0
votes
1 answer

How to run javascript tests for node.js project on gated check in?

I've added node.js project to solution. Now I need js tests to be discovered and run on gated check-in. How can I achieve this?
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
0
votes
1 answer

Visual Studio 2015: Bug setting TestFramework to Mocha for unit test files in NodeJS Project

I'm working on a Typescript project in Visual Studio (2015 Community edition) build server side unit tests using Mocha. I however read that NodeJS Tools supports running within the VS Test Runner, and even Typescript unit tests. You have to set the…
Bart
  • 5,065
  • 1
  • 35
  • 43
0
votes
2 answers

Cant install deep nested node js modules

I'm trying to install nightmare module to my project but i'm facing some problems. When i run npm install nightmare --save it all works , and npm returns OK but visual studios says that i reached the max character limit , because of nightmare…
David Barishev
  • 534
  • 7
  • 30
0
votes
1 answer

Display Navigation Bar for JavaScript files in Visual Studio 2015 + Node.js

A new(?) feature was promoted with Visual Studio 2015 for Javascript developers: Navigation Bar lists the objects and their methods in 2 select boxes above the code editor (as it does for years with C++ sources). Unfortunately I can see this…
Supersharp
  • 29,002
  • 9
  • 92
  • 134
0
votes
1 answer

Sharing classes between multiple TypeScript files using Node.JS Tools for Visual Studio

I am currently working on a Node.JS project written in TypeScript using Node.JS Tools for Visual Studio (NTVS). I have a few classes and enums spread out in 3 or 4 files in my project. I am now trying to use the classes defined in those files from…
Wasabi Fan
  • 1,763
  • 3
  • 22
  • 36
0
votes
1 answer

Vs2013 Nodejs project.. 2nd box..."specified executable is not a valid applications for this OS platfrom

I have a nodejs project in Vs2013 I built it on a w7, 64 bit machine, and it's working, on my main box, check it into TFS and it builds and runs test in Team city. Also runs from a batch file that calls protractor.cmd directly. I pulled it down on a…
Eric Brown - Cal
  • 14,135
  • 12
  • 58
  • 97
0
votes
1 answer

Node.js with Visual Studio 2012 for Web

Does the new node.js plugin for Visual Studio work with Express Versions or with the integrated shell? As far as I know, the F# tools work in integrated shell.
Knerd
  • 1,892
  • 3
  • 28
  • 55
-2
votes
1 answer

Nodejs Code in Visual Studio 2015 throws error but works from node command line. Unexpected token =>

I have a function in node js script which works fine when I am using node command line to start my project: However when I run the project from visual studio 2015, I get this Error : Debugger listening on port 5858…
Abdul Rehman Sayed
  • 6,532
  • 7
  • 45
  • 74
1 2
3