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

Plugin with id 'com.moowork.node' not found. #371

Open
gopalsai opened this issue Oct 22, 2020 · 3 comments
Open

Plugin with id 'com.moowork.node' not found. #371

gopalsai opened this issue Oct 22, 2020 · 3 comments

Comments

@gopalsai
Copy link

gopalsai commented Oct 22, 2020

  • What went wrong:
    A problem occurred evaluating script.

Plugin with id 'com.moowork.node' not found.

  • 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

BUILD FAILED in 642ms

Kindly, please help!!!!! we are trying to upgrade our Gradle version from 2.3 to 6.7 along with upgrading the plugin version as well and we are getting this error....

Many Thankssss, for your great work!!!

@deepy
Copy link

deepy commented Oct 22, 2020

Unfortunately this plugin isn't compatible with gradle 6, you can see #315 for the full history.

But there's a maintained fork of this plugin at https://github.com/node-gradle/gradle-node-plugin

@gopalsai
Copy link
Author

gopalsai commented Oct 28, 2020

Unfortunately this plugin isn't compatible with gradle 6, you can see #315 for the full history.

But there's a maintained fork of this plugin at https://github.com/node-gradle/gradle-node-plugin

Thank you, deepy....

I tried this version it self and Gradle didn't throw any errors. However, there is a problem with finding the version. I dont understand why its looking for a file named "- https://nodejs.org/dist/v4.9.1/ivy.xml" obviously it won't be there. How do I overcome this problem?

Thank you!!!

Screen Shot 2020-10-28 at 7 58 16 PM

@deepy
Copy link

deepy commented Oct 29, 2020

The way that the plugin works is that it's using an IvyRepository to fetch a file, now the problem you're seeing is that in Gradle 5 and later you need to tell it that it's not really an ivy repository and that it shouldn't look for ivy.xml

You can see the actual change here: node-gradle/gradle-node-plugin@9368ad4

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

2 participants