Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better logging when node is not installed #1097

Merged
merged 1 commit into from
Jun 24, 2016

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Jun 23, 2016

Bug

Poor initial experiance when launching NTVS without node installed.

Fix

Adds a few more logging points:

  • Log if npm cannot be found
  • Log if typings tool install fails
  • Log if typings tool cannot be found.

All these are logged to the output window.

Testing

Manually tested by messing up node path and then correcting node path to make sure the errors are not shown

image

Closes #1069

Bug
Poor initial experiance when launching NTVS without node installed.

Fix
Adds a few more logging points:
* Log if npm cannot be found
* Log if typings tool install fails
* Log if typings tool cannot be found.

All these are logged to the output window.

Closes microsoft#1069
@mjbvz
Copy link
Contributor Author

mjbvz commented Jun 24, 2016

At some point, I'd like to revisit #729. Adding strings is a pain right now and it's far too easy to introduce fun bugs through string name mismatches.

@mousetraps
Copy link
Contributor

👍 this is a good start, but I'm not entirely sure if this is really a place users will look so we should continue to refine the design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants