XMLWordPrintable

      0. deploy CRW 2.2.0 as follows:

       /opt/crwctl/bin/crwctl server:start --self-signed-cert --che-operator-image=quay.io/crw/crw-2-rhel8-operator:latest --listr-renderer=verbose -n my-crw
      

      Using latest https://github.com/redhat-developer/codeready-workspaces-chectl/releases/tag/2.2.0-RC1-7b87dc4

      1. Once deployed, select the mongodb example from the Getting Started page.

      2. Once loaded, from the Terminal > Run Task... menu, select:

      • run the web app (and download dependencies)
      npm WARN nodejs-sample@1.0.0 No repository field.
      
      audited 50 packages in 0.678s
      found 0 vulnerabilities
      
      sh: nodemon: command not found
      

      Seems the problem is a missing PATH fragment in the container, so nodemon is not found:

      -    PATH=$HOME/node_modules/.bin/:$HOME/.npm-global/bin/:/usr/lib/jvm/java-1.8.0-openjdk:/opt/apache-maven/bin:/usr/bin:$PATH \
      +    PATH=$HOME/node_modules/.bin/:$HOME/.npm-global/bin/:/opt/app-root/src/.npm-global/bin/:/usr/lib/jvm/java-1.8.0-openjdk:/opt/apache-maven/bin:/usr/bin:$PATH \
      

      Rebuilding...

      https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/CRW_CI/view/Releng/job/get-sources-rhpkg-container-build/4241/

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: