Skip to content

Conversation

@bashiransari
Copy link

If node global module path is not the default one ($(HOMEDRIVE)$(HOMEPATH)\AppData\Roaming\npm) that is declared in MSBuild.Node.props file then gulp taks will fail by 2 causes .

  1. Where.exe gulp returns 2 results
  2. ConsoleToMsBuild property is not true

Issue :#37

Most of times you will find 2 gulp files in "C:\Program Files\nodejs". gulp that is for linux and gulp.cmd for windows.
I have seen GulpExecutable variable is set to empty due to where.exe returns 2 lines and it breaks the whole build.
If node global module path is not the default one ($(HOMEDRIVE)$(HOMEPATH)\AppData\Roaming\npm) that is declared in MSBuild.Node.props file then gulp taks will fail.
because without ConsoleToMsBuild the GulpExecutable variable would not be set .
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.

1 participant