[
https://issues.apache.org/jira/browse/CAMEL-20517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-20517.
---------------------------------
Resolution: Fixed
> 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
> Fix For: 4.5.0
>
>
> 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)