Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shopify CLI not installing on Mac #620

Open
rompastompa opened this issue Jun 3, 2023 · 2 comments
Open

Shopify CLI not installing on Mac #620

rompastompa opened this issue Jun 3, 2023 · 2 comments

Comments

@rompastompa
Copy link

Hello. I try to install Shopify CLI to my MacOS, but it's not installing.

Last 15 lines from /Users/liquid/Library/Logs/Homebrew/shopify-cli/01.npm:
npm verb stack at emitErrorCloseNT (node:internal/streams/destroy:116:3)
npm verb stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm verb cwd /private/tmp/shopify-cli-20230603-4330-mol21/package
npm verb Darwin 22.5.0
npm verb node v20.2.0
npm verb npm v9.6.6
npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! request to https://registry.npmjs.org/@oclif%2fcore failed, reason: unable to get local issuer certificate
npm verb exit 1
npm verb unfinished npm timer reify 1685815259205
npm verb unfinished npm timer reify:loadTrees 1685815259210
npm verb code 1

Can you help me?

@rompastompa
Copy link
Author

I tried everything that I found in the Internet, such as:

brew reinstall --build-from-source [email protected]
xcodebuild -runFirstLaunch

@0Sarah0Al
Copy link

I tried every possible solution I found in the internet, nothing worked.
The only thing that worked was uninstalling homebrew and then deleting all its sub folders in /usr/local/
When you uninstall homebrew, it will suggest removing these subfolders.
Then reinstall homebrew. Everything will work like a charm...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants