Error on creating a new project
Hi All,
I'm helping someone with getting Studio up and running on a Mac and they are getting the issue described in these posts (here and here) where you just getting the spinning hexagon and nothing happens:

Looking through the log file, it appears that the projects are missing the gulp.js module as shown:
11/9/17, 9:24:10 am AEST] info: [twx-studio:projectHelper] Creating ves-ar-extension app: Welcome
[11/9/17, 9:24:10 am AEST] Error Initializing { Error: Cannot find module 'gulp'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/tosin/Documents/ThingWorxStudio/Projects/Welcome/gulp-shared.js:7:12)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
[11/9/17, 9:24:10 am AEST] error: [twx-studio:projectHelper] initializeApp - oncreate failed Error: Cannot find module 'gulp'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/tosin/Documents/ThingWorxStudio/Projects/Welcome/gulp-shared.js:7:12)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
error: [twx-studio:sockets] Add project error Error: Cannot find module 'gulp'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/tosin/Documents/ThingWorxStudio/Projects/Welcome/gulp-shared.js:7:12)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
We've tried re-installing Studio, but it keeps throwing this error for new project and the three default tutorial projects that come with Studio.
Any ideas or suggestions?
Many thanks,
Allan

