Category: Apple


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


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/ line 4: gulp: command not found Here, xCode can not find gulp because it uses...