srs / gradle-node-plugin

Gradle plugin for integrating NodeJS in your build. :rocket:
Apache License 2.0
867 stars 210 forks source link

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

Open Manohar10523 opened 5 years ago

Manohar10523 commented 5 years ago

Can you please help me to resolve this problem.

radhe-soni commented 5 years ago

faced same problem, it resolved automatically.

Frontrider commented 4 years ago

That is not helpful.

vinterdo commented 4 years ago

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

Frontrider commented 4 years ago

close it.

craigklem commented 4 years ago

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?

deepy commented 4 years ago

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