Peter Kelley opened issue #35: Unable to set NPM Version at Ysb33r Software Foundation / Gradle Plugins / Javascript Gradle Plugin Suite

Peter Kelley
2021-09-26T02:05:43Z

When executing the build.gradle below I get the following output:

λ gradlew hello

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\User\eclipse-workspace\adtf-root\adtf-web\build.gradle' line: 27

* What went wrong:
A problem occurred evaluating project ':adtf-web'.
> Using a different version of NPM other than the packaged version is currently not supported. Please raise an issue at https://gitlab.com/ysb33rOrg/nodejs-gradle-plugin/-/issues if you require this feature.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

Version info:

λ gradlew --version

------------------------------------------------------------
Gradle 6.9
------------------------------------------------------------

Build time: 2021-05-07 07:28:53 UTC
Revision: afe2e24ababc7b0213ccffff44970aa18035fc0e

Kotlin: 1.4.20
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM: 15 (Oracle Corporation 15+36-1562)
OS: Windows 10 10.0 amd64

build.gradle