Hi, how do I deploy my nodejs app to Azure with this tool? Do I use the out of the box publish tool is VS? or there is something specific I can use from this tool ?

Sam Harwell

@sharwell

I'm getting a test discovery error using Mocha for our tests. The output to the Tests window in Visual Studio shows the following, which appears to contain a truncated message on the line starting with "Test discovery error:" (perhaps because it spans multiple lines?). Do you know if the complete error text is available somewhere?

which was presumably produced by the following line in TestMocha.ts, the original TypeScript source file for the test in question.

import {MurmurHash} from'../src/misc/MurmurHash';

Sam Harwell

@sharwell

@BurtHarris :arrow_up: that's the error I was mentioning to you

Burt Harris

@BurtHarris

OK, I'm trying to reproduce this.

Burt Harris

@BurtHarris

Is the following message from ActivityLog.xml an issue with nodejstools?

<entry><record>606</record><time>2016/10/05 19:09:34.451</time><type>Error</type><source>Editor or Editor Extension</source><description>System.InvalidOperationException: Operation is not valid due to the current state of the object.&#x000D;&#x000A; at Microsoft.VisualStudioTools.Project.Automation.OAProjectItem.get_Collection()&#x000D;&#x000A; at Microsoft.VisualStudio.Web.Editor.Package.Lint.WebLinter.LinterUtilities.IsFileSupported(String fileName)&#x000D;&#x000A; at Microsoft.VisualStudio.Web.Editor.Package.Lint.ErrorTagger.LintErrorTaggerProvider.CreateTagger[T](ITextBuffer textBuffer)&#x000D;&#x000A; at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)</description></entry>

Sam Harwell

@sharwell

I was running Node.js 0.12.2

Sam Harwell

@sharwell

Updating to Node 6.7.0 fixed the problem described above.

Tushar Mathur

@tusharmath

Are these tools supported for mac ?

Marcus Besjes

@marcusbesjes

Hi, I just downloaded Node tools for visual studio and Visual Studio Code for linux, but now I don't see how to add the node tools download to the visual studio

NTVS 1.2 VS 2015.msi also seems like a windows kind of file

not sure if it's compatible with Visual Studio for linux

at extentions I see "Install from VSIX file", but that .msi file is not a VSIX file it seems

Pavel Botezat

@botezatpv

Hello, How can I install on VS 2017?

John Nicholl

@ltheONEl

Are the tools read for vs2017 yet?

Andrey Kurdyumov

@kant2002

Tools included in VS 2017. Select Node.js Workload in the installer

Lea Fox

@lfox91

hello new to vs, how does one set environment variables. I've added them to properties, built the project, and run start from npm task runner but no luck. when I type process.env in the node console they are no wear to be found.

BG Bruno

@bgbruno

@kant2002 Hello I install VS2017 on MacOS right now and I don't saw that "Select Node.js Workload in the installer" within installing or I don't see in wizard it either - Q please where it is?

Arjun Ganesan

@arjun-g

hello guys, how do i use "npm start" to debug my application instead of a startup script file ?

Andrey Kurdyumov

@kant2002

@brunogarett sorry for late response. I did not try VS on Mac yet.

But as far as I know VS on Mac is different product and likely has different work flow. I don't even sure that Node.js Tools for VS work for that edition

@arjun-g you could run '.npm start' within Node Interactive window

_

Arjun Ganesan

@arjun-g

@kant2002 it starts my application but i am unable to debug my application. i am developing a angular 4 application with typescript. instead of a script file to start the application i use "ng serve" in root directory to start the application. "npm start" is configured to run "ng serve"

how can I start my application with debugger ?

Andrey Kurdyumov

@kant2002

I get it.

There no easy way which I could suggest.

Only option which I could think of is you specify path to ng in the Script (startup file) value

I probably have to create new Angular 4 application to try your scenario.

Was always interested try new Angular but never have a chance :smile:

Arjun Ganesan

@arjun-g

OK. I will try to find a solution from my side as well. Will post if i find anything.

Was always interested try new Angular but never have a chance :smile:

I just moved from AngularJS to Angular 4. Its pretty good.

Andrey Kurdyumov

@kant2002

@brunogarett Actually there request for NodeJS Tools support on Mac here - #1574 Please vote, maybe it will give request more visibility

Don Pinkus

@donpinkus

Anyone using VS with React?

Looking for a good beautifier, but they all seem broken.

Artur Kurowski

@radarsu

I get the same error as Arjun.

drameshbe

@drameshbe

Hi Team..

How to Debug the Nightwatch Code from Vs Code. I have module.exports , my debug line is not going beyond the module.exports, directly it reaches out of the component. can anyone help me how to debug the code.