question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to install on MacOS Catalina

See original GitHub issue

Your environment

OS : MacOS Catalina 10.15.6 Node.js version : 14.11.0 suitecloud-cli version : 1.1.1 Terminal/CMD tool : MacOS built-in Terminal app

Describe the bug

After cloning the repo from github, changing into dir and running npm install, I get the errors listed below. Also MacOS GUI pop-up comes up saying: “The xcodebuild command requires the command line developer tools. Would you like to install the tools now?”. So when I hit “Install” button the licence agreement comes up which I “Agree”, and then “Finding software” screen progress goes on for a sec and then the message pops up saying “Can’t install the software because it is not currently available from the Software Update server”. Also, the described solution from https://medium.com/flawless-app-stories/gyp-no-xcode-or-clt-version-detected-macos-catalina-anansewaa-38b536389e8d webpage does not work for me either, I end up with the same error message.

So here is the error log:

gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/Users/admin/netsuite-suitecloud-node-cli/extensions/localserver-cli-command/node_modules/node-gyp/lib/configure.js:345:16) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Darwin 19.6.0 gyp ERR! command “/usr/local/Cellar/node/14.11.0/bin/node” “/Users/admin/netsuite-suitecloud-node-cli/extensions/localserver-cli-command/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=” gyp ERR! cwd /Users/admin/netsuite-suitecloud-node-cli/extensions/localserver-cli-command/node_modules/node-sass gyp ERR! node -v v14.11.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.12.0 postinstall: node scripts/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@4.12.0 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/admin/.npm/_logs/2020-09-24T11_14_31_495Z-debug.log

lerna ERR! npm install exited 1 in ‘@oracle/suitecloud-cli-localserver-command’ npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @oracle/suitecloud-sdk@1.1.1 postinstall: lerna bootstrap npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @oracle/suitecloud-sdk@1.1.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/admin/.npm/_logs/2020-09-24T11_14_31_549Z-debug.log

To Reproduce

Steps to reproduce the behavior:

  1. git clone the repo
  2. cd into the cloned repo dir
  3. npm install

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
yuri-urbancommented, Sep 30, 2020

@alii-gator and @vic-nik thanks for your help guys, I did try installing it from the App Store… it took about an hour, but after finishing the install, starting up Xcode and letting it “update components” - the npm install went successful. Therefore this issue can be closed now.

0reactions
vic-nikcommented, Sep 30, 2020

Thanks for checking that Ali. I tend to think it’s environment problem too as no one else has reported similar issues on Catalina so far.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation failed macOS Catalina - Apple Community
I cannot upgrade my MacBook Air 2019 from macOS Mojave to MacOS Catalina as I am getting the "Installation failed error An error...
Read more >
How to Fix macOS Catalina Installation Issues - MacSales.com
The simple solution is to delete the “Install macOS Catalina: installer located in your /Application folder. Once it has been removed, you can ......
Read more >
[SOLVED] An Error Occurred While Installing macOS Catalina ...
1. Force Restart Your Mac · 2. Switch to a Wired Connection · 3. Check Your Storage Space · 4. Remove and Re-donwload...
Read more >
How to Fix the "macOS Could Not Be Installed on Your ...
Before Troubleshooting Your macOS Installation Error · Step 1. Boot Up Your Mac in Safe Mode · Step 2. Create a New Backup...
Read more >
macOS Catalina Install or Update Errors? Here are some ...
Error downloading macOS Catalina · Check Apple Server status and make sure macOS Software update is 'green' · Make sure your Wi-Fi is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found