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

Yarn postinstall hook fails on MacOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.16.0
    • 4.16.0
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      Description of problem:

      Running yarn or yarn install on latest master branch of Console fails on MacOS

      $ cd /path/to/console/frontend
      $ yarn install
      

      https://github.com/openshift/console/pull/13706#issuecomment-2051682156

      $ ./scripts/check-patternfly-modules.sh && yarn prepare-husky && yarn generate
      Checking \e[0;33myarn.lock\e[0m file for PatternFly module resolutions
      grep: invalid option -- P
      usage: grep [-abcdDEFGHhIiJLlMmnOopqRSsUVvwXxZz] [-A num] [-B num] [-C[num]]
      	[-e pattern] [-f file] [--binary-files=value] [--color=when]
      	[--context[=num]] [--directories=action] [--label] [--line-buffered]
      	[--null] [pattern] [file ...]
      

            vszocs@redhat.com Vojtech Szocs
            vszocs@redhat.com Vojtech Szocs
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: