Giter Club home page Giter Club logo

antora-gradle-plugin's People

Contributors

aalmiray avatar andreas-schilling avatar rwinch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

antora-gradle-plugin's Issues

The task `antora` fails on Windows

Hi, thanks for providing this plugin.

The task antora fails on windows.

> Task :downloadAntoraCli
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\test\Workspace\kwik\build\modules\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\test\Workspace\kwik\build\modules\package.json'
npm WARN modules No description
npm WARN modules No repository field.
npm WARN modules No README data
npm WARN modules No license field.

+ @antora/[email protected]
added 23 packages in 8.931s

> Task :downloadAntoraSiteGenerator
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\test\Workspace\kwik\build\modules\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\test\Workspace\kwik\build\modules\package.json'
npm WARN modules No description
npm WARN modules No repository field.
npm WARN modules No README data
npm WARN modules No license field.

+ @antora/[email protected]
added 209 packages in 31.017s

> Task :antora FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':antora'.
> A problem occurred starting process 'command 'build/modules/node_modules/@antora/cli/bin/antora''

To reproduce:

git clone [email protected]:rwinch/antora-gradle.git
cd antora-gradle
gradlew antora

Remove node version override

Currently the plugin sets a hard node version override when applied.
What is the exact reason for doing so?
I'd recommend to remove this override as it might be problematic if a script uses the Gradle Node plugin as well and desires different values. Even if one uses just the Antora Gradle plugin one can still apply the override by using the

node {
    version = "whatever"
    download = true
}

configuration block, as the Gradle Node plugin becomes transitively applied.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.