Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32431

Plugin template: ts-node command not found when using yarn run build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Undefined
    • None
    • 4.15
    • Management Console
    • None
    • Important
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      ~/work/console-plugin-template main
      ❯ yarn run build
      yarn run v1.22.17
      $ yarn clean && NODE_ENV=production yarn ts-node node_modules/.bin/webpack
      $ rm -rf dist
      $ ts-node -O '{"module":"commonjs"}' node_modules/.bin/webpack
      /bin/sh: ts-node: command not found
      error Command failed with exit code 127.
      info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
      error Command failed with exit code 127.
      info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

      Attachments

        Activity

          People

            jhadvig@redhat.com Jakub Hadvig
            spadgett@redhat.com Samuel Padgett
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: