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

Missing npm #12

Open
sydb opened this issue Aug 2, 2022 · 1 comment
Open

Missing npm #12

sydb opened this issue Aug 2, 2022 · 1 comment

Comments

@sydb
Copy link

sydb commented Aug 2, 2022

Tried the TL;DR instructions. Result was:

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :downloadSaxonJs
Download https://www.saxonica.com/saxon-js/download/Saxon-JS-2.3.zip

> Task :copySaxonJs
> Task :copyResources
> Task :createPackageJson
> Task :installXslt3 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':installXslt3'.
> A problem occurred starting process 'command 'npm''

* 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 15s
5 actionable tasks: 5 executed

So I then went ahead and issued sudo apt install npm (which, BTW, installed 198 new packages), after which the build worked.

Bet you never thought you would have users with systems that lame, eh?

Not sure if the solution is to add your own npm to this repo, download it from within the build process, or just document here that it is a required package (or something else). Anyway, thought you should know.

@ndw
Copy link
Contributor

ndw commented Aug 4, 2022

Ah, thanks, Syd. I'll update the build to publish the compiled stylesheet so that you don't need to have things configured to compile them yourself.

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