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

Yarn postinstall hook fails on MacOS

    XMLWordPrintable

Details

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

      None

      Show
      None

    Description

      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 ...]
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: