You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claudio Miranda (Jira)" <ji...@apache.org> on 2024/03/05 10:14:00 UTC

[jira] [Work started] (CAMEL-20517) camel-jbang-plugin-k doesn't recognize command

     [ https://issues.apache.org/jira/browse/CAMEL-20517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-20517 started by Claudio Miranda.
-----------------------------------------------
> camel-jbang-plugin-k doesn't recognize command
> ----------------------------------------------
>
>                 Key: CAMEL-20517
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20517
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jbang
>    Affects Versions: 4.4.0
>            Reporter: Claudio Miranda
>            Assignee: Claudio Miranda
>            Priority: Major
>
> Try running a camel-jbang-plugin-k results in the following error
> {code:java}
> $ camel k run route.yaml
> [jbang] [ERROR] Script or alias could not be found or read: 'camel'
> [jbang] Run with --verbose for more details
> {code}
>  
> There is a workaround
> {code:java}
> jbang run --deps=org.apache.camel:camel-jbang-plugin-k:4.4.0 camel@apache/camel k run <file.yaml>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)