node-gradle / node-gradle/gradle-node-plugin
Cannot set the value of read-only property 'version' for task ':npmSetup' of type
Nobody has claimed this yet.
- Dominant language
- Groovy
- Stars
- 677
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
- What went wrong:
An exception occurred applying plugin request [id: 'com.github.node-gradle.node', version: '3.5.1']
Failed to apply plugin 'com.github.node-gradle.node'.
Could not create task ':npmSetup'.
> Cannot set the value of read-only property 'version' for task ':npmSetup' of type com.github.gradle.node.npm.task.NpmSetupTask.
`node {
// Versions of node , npm
version = "14.15.1"
npmVersion = "6.14.8"
// Enabled the automatic download. False is the default (for now).
download = true
}`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Gradle plugin request using the shown node configuration and plugin version 3.5.1. Investigate creation of the :npmSetup task and the read-only version property; done means the plugin applies without that task-creation exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, nodejs
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100