Category: Apple

0

Terminal in Mac Recovery mode

It’s simple to change the SIP on MAC. Restart MAC  Upon restart press and hold Command (⌘) + R. You should see the screen like below where you can find, Utilities -> Terminal  

0

xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance

Solution: Type below command in your terminal sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer References: https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error https://github.com/nodejs/node-gyp/issues/569

0

How to run unix commands from nodejs?

Nodejs allows us to execute linux commands from its child process module as shown below. var exec = require(‘child_process’).exec; // any unix based command var cmdToLaunch = “ls -la”; function execCB (error, stdout, stderr)...

0

xCode: gulp: command not found

If you’re using gulp or similar build tools to build your project you might run into this issue. /Users/username/Library/Developer/Xcode/DerivedData/project/filename.sh: line 4: gulp: command not found Here, xCode can not find gulp because it uses...