[
https://issues.apache.org/jira/browse/GUACAMOLE-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014210#comment-18014210
]
Nick Couchman commented on GUACAMOLE-2101:
------------------------------------------
[~user12319273]: I downloaded and installed Debian 12 in a VM and was unable to
reproduce this issue. i was able to successfully build:
* Install Debian 12 in ProxMox VE
* apt-get update && apt-get upgrade
* apt-get install openjdk-17-jdk maven git
* git clone https://github.com/apache/guacamole-client
* cd guacamole-client
* export JAVA_HOME=/usr/lib/jvm/java-1.17.0-openjdk-amd64
* mvn clean package
> npx can't find src directory for jsdoc when building Guacamole client
> ---------------------------------------------------------------------
>
> Key: GUACAMOLE-2101
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-2101
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-client, guacamole-common-js, guacamole-manual
> Affects Versions: 1.6.0
> Environment: Debian 12
> Reporter: user12319273
> Priority: Minor
>
> When building {{guacamole-client-1.6.0}} on Debian 12, {{mvn package}} fails
> with
> {{[INFO] Running 'npx jsdoc -c jsdoc-conf.json' in
> /root/guacamole-client-1.6.0/guacamole-common-js}}
> {{[DEBUG] Executing command line
> [/root/guacamole-client-1.6.0/guacamole-common-js/node/node,
> /root/guacamole-client-1.6.0/guacamole-common-js/node/node_modules/npm/bin/npx-cli.js,
> jsdoc, -c, jsdoc-conf.json]}}
> {{[INFO] ERROR: Unable to find the source file or directory
> /root/guacamole-client-1.6.0/guacamole-common-js/src}}
> However, the path {{/root/guacamole-client-1.6.0/guacamole-common-js/src}}
> exists, and when cd'ing in the
> {{/root/guacamole-client-1.6.0/guacamole-common-js/}} directory and running
> {{npx jsdoc -c jsdoc-conf.json}} manually, no error message appears. In this
> case, the system-wide npx installation at
> {{/usr/share/nodejs/npm/bin/npx-cli.js}} gets used.
> Why does it work with the system-wide {{{}npx{}}}, but not with the {{npx}}
> provided by {{{}guacamole-client{}}}?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)