carbon-addons-iot-react icon indicating copy to clipboard operation
carbon-addons-iot-react copied to clipboard

yarn install is not working on Mac Apple Silicon MacBook

Open herleraja opened this issue 1 year ago • 2 comments

What package is this for?

  • [x] React
  • [x] Angular

Describe the bug

Delete all the node packagesthe in latest Mac Apple Silicon MacBook and yarn install

image

Tried NPM install. That also gives the some more details

image

Expected behavior

yarn install should work without any issues

Environment/versions:

image

Additional context

Looks like chromedriver issue is already present. https://github.com/webrtc/samples/issues/1431

herleraja avatar Sep 22 '22 10:09 herleraja

The chromedriver dependecy seems to be coming from accessibility-checker image

herleraja avatar Sep 22 '22 10:09 herleraja

Workaround for running PAL code in MAC OS with M1 / M2 chip

  1. Update "accessibility-checker": "^3.1.38"
  2. Create a python virtual environment

python3 -m venv localvenv source ./localvenv/bin/activate

  1. yarn install for installation yarn start for running storybook.

herleraja avatar Sep 22 '22 15:09 herleraja