We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using Gradle 6 with the following configuration in the build file:
node { version = '12.14.1' npmVersion = '6.13.6' distBaseUrl = 'https://nodejs.org/dist' download = true workDir = file("${project.buildDir}/app") }
When I run gradle npmInstall, it builds for a while but then exits due to:
No value has been specified for property 'packageJsonFile'.
Where do I set this property and what should it be set to?
The text was updated successfully, but these errors were encountered:
There's multiple issues and PRs related to Gradle 6 support e.g. #349
There's also #315 to keep in mind
Sorry, something went wrong.
I got my setup to work, replacing plugin's npmInstall task with the hand-made one:
npmInstall
task "npm-install"( type:NpmTask ) { group = 'node' description = 'Runs npm install' workingDir = file '...' args = [ 'install' ] }
Works both for Gradle 4.10 and 6.x
No branches or pull requests
I am using Gradle 6 with the following configuration in the build file:
node { version = '12.14.1' npmVersion = '6.13.6' distBaseUrl = 'https://nodejs.org/dist' download = true workDir = file("${project.buildDir}/app") }
When I run gradle npmInstall, it builds for a while but then exits due to:
No value has been specified for property 'packageJsonFile'.
Where do I set this property and what should it be set to?
The text was updated successfully, but these errors were encountered: