lgrignon / jsweet-gradle-plugin

Brings the power of JSweet to Gradle
Apache License 2.0
17 stars 15 forks source link

Latest snapshot can't be retrieved #14

Closed amelnikoff closed 6 years ago

amelnikoff commented 6 years ago

Hi. Gradle not able to load snapshot:

> Could not resolve all files for configuration ':classpath'.
   > Could not resolve org.jsweet:jsweet-gradle-plugin:2.0.0-SNAPSHOT.
     Required by:
         project :
      > Could not resolve org.jsweet:jsweet-gradle-plugin:2.0.0-SNAPSHOT.
         > Could not get resource 'http://repository.jsweet.org/artifactory/libs-release-local/org/jsweet/jsweet-gradle-plugin/2.0.0-SNAPSHOT/jsweet-gradle-plugin-2.0.0-SNAPSHOT.pom'.
            > Could not HEAD 'http://repository.jsweet.org/artifactory/libs-release-local/org/jsweet/jsweet-gradle-plugin/2.0.0-SNAPSHOT/jsweet-gradle-plugin-2.0.0-SNAPSHOT.pom'. Received status code 409 from server: Conflict
lgrignon commented 6 years ago

Hi, Seems that your local repository may be corrupted. Anyway, please try the versions used in the JSweet examples project: https://github.com/cincheo/jsweet-examples/blob/master/build.gradle

Should do the trick for you.

amelnikoff commented 6 years ago

I tried to clean gradle cache, no luck. Tried to call gradle build --refresh-dependencies same result.

This is happens when you follow README.md from this project.

Build file from jsweet-examples seems to work. But now I have another error:

> Task :jsweet FAILED
Cannot run program "node": error=2, No such file or directory
cannot find Node.js: install first and make sure that the 'node' command is in your execution path
cannot find node.js

Strange message, because I have installed node.

lgrignon commented 6 years ago

JSweet uses Node.js http://www.jsweet.org/getting-started/

amelnikoff commented 6 years ago

False alarm, somehow I broke my PATH and it was without node and npm )

lgrignon commented 6 years ago

Haha, ok. Quick fix :) thanks