Hi, I met this problem all the time
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.
It seem like some configuration delete the packageJsonFile when npm installing.
Hi, I met this problem all the time
What went wrong:
A problem was found with the configuration of task ':npmInstall' (type 'NpmInstallTask').
In plugin 'com.github.gradle.node.NodePlugin' type 'com.github.gradle.node.npm.task.NpmInstallTask' property 'packageJsonFile' doesn't have a configured value.
Reason: This property isn't marked as optional and no value has been configured.
Possible solutions:
Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#value_not_set for more details about this problem.
Try:
It seem like some configuration delete the packageJsonFile when npm installing.