Skip to content

Instantly share code, notes, and snippets.

@bfitzpat
Created January 28, 2020 18:38
Show Gist options
  • Select an option

  • Save bfitzpat/af7d52e9c257bc8ba06181c135949d45 to your computer and use it in GitHub Desktop.

Select an option

Save bfitzpat/af7d52e9c257bc8ba06181c135949d45 to your computer and use it in GitHub Desktop.

This doesn't work currently to check the requirement, so am diving deeper

You should be able to use this link to check to see if Apache Camel K is accessible at the command line{.didact} It should then update the following status.

Status: unknown{#camel-k-requirements-status}

This works just fine and I have no idea why

Apache Maven is accessible at the command line{.didact}

Status: unknown{#maven-requirements-status}

Issue seems to be with child_process.execSync

child_process.execSync(kamel version) returns

Error: Command failed: kamel version
/bin/sh: 1: kamel: not found

But doing the same thing at the terminal prompt I get no error:

bfitzpat:~/Documents/workspaces/clean $ kamel version
Camel K Client 1.0.0-RC1

I have asked some of the Node.js/TypeScript experts I know.

This works

You could use this link to open a new terminal called 'camel-k-term' and try the kamel version command.{.didact}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment