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 node.CurrentExe property to NodeExtension.groovy #342

Open
aky100200 opened this issue Jul 20, 2019 · 0 comments
Open

Add node.CurrentExe property to NodeExtension.groovy #342

aky100200 opened this issue Jul 20, 2019 · 0 comments

Comments

@aky100200
Copy link

aky100200 commented Jul 20, 2019

In a Windows environment where node is not installed
When I execute bower-license from the gradle task of type: Exec , the following error appears.

…

+ bower-license@0.4.4
added 23 packages from 14 contributors and audited 30109 packages in 19.554s
found 1138 vulnerabilities (632 low, 493 moderate, 13 high)
  run `npm audit fix` to fix them, or `npm audit` for details
:npm_run_bower_license'node' は、内部コマンドまたは外部コマンド、
操作可能なプログラムまたはバッチ ファイルとして認識されていません。
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':npm_run_bower_license'.
> Process 'command 'cmd'' finished with non-zero exit value 1

…

The cause was that path did not pass.
I added "node.workDir + (version directory path of node)" and ran successfully.
I created a script to find a match for node.version under the path of node.workDir.

Propose to add a new property to NodeExtension.groovy.

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

No branches or pull requests

1 participant