Skip to content

Instantly share code, notes, and snippets.

@A2H111
Created August 12, 2018 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save A2H111/22fd6f44e4c948f05f6ac4b38917dcd9 to your computer and use it in GitHub Desktop.
Save A2H111/22fd6f44e4c948f05f6ac4b38917dcd9 to your computer and use it in GitHub Desktop.
<Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<Error Condition="'$(ErrorCode)' != '0'" Text="Node.js is required to build and run this project. To continue, please install Node.js from https://nodejs.org/, and then restart your command prompt or IDE." />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment