gradle-node-plugin icon indicating copy to clipboard operation
gradle-node-plugin copied to clipboard

Plugin [id: 'com.moowork.node', version: '1.3.1'] was not found in any of the following sources:

Open Manohar10523 opened this issue 6 years ago • 6 comments

  • Where: Build file 'C:\projects\git\services\build.gradle' line: 16

  • What went wrong: Plugin [id: 'com.moowork.node', version: '1.3.1'] was not found in any of the following sources:

  • Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
  • Plugin Repositories (could not resolve plugin artifact 'com.moowork.node:com.moowork.node.gradle.plugin:1.3.1') Searched in the following repositories: Gradle Central Plugin Repository
  • 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.

Can you please help me to resolve this problem.

Manohar10523 avatar May 29 '19 19:05 Manohar10523

faced same problem, it resolved automatically.

radhe-soni avatar Jun 04 '19 06:06 radhe-soni

That is not helpful.

Frontrider avatar Aug 29 '19 19:08 Frontrider

Had the same problem when I accidentally enabled Gradle "offline mode" in IntelliJ Idea

vinterdo avatar Oct 10 '19 16:10 vinterdo

close it.

Frontrider avatar Oct 10 '19 19:10 Frontrider

We are acutally trying to build while offline. Is there somewhere we can "install" the plugin or point to local repository so that build can work or will it always try to download from internet?

craigklem avatar Feb 11 '20 20:02 craigklem

add mavenLocal() to your buildscript.repositories or pluginManagement.repositories (in settings.gradle) and build the plugin locally using publishToMavenLocal though you're going to need to switch to the fork to be able to get node, see: https://github.com/node-gradle/gradle-node-plugin/issues/66 for how to use distBaseUrl and how to add an ivyrepo

Are you sure you want to build while offline rather than serving all requests through your own nexus/artifactory/etc? Because one way or another you're going to need your dependencies, and installing everything is a bother in large environments

deepy avatar Feb 12 '20 08:02 deepy