I would really appreciate any help. I have done the following on two separate windows 7 64 bit installations:
cloned moodlemobile 2
followed instructions in custom moodle mobile development
without making any changes I get stuck on gulp default task on multiple files (first one was filepool.js, I removed it from the core, then it got stuck on another one, then another etc) They have different line number with unexpected token but rest is same. I have copied an example below. All help will be highly appreciated.
C:\Users\Atif\Documents\moodlemobile2>gulp
[01:59:03] Using gulpfile ~\Documents\moodlemobile2\gulpfile.js
[01:59:03] Starting 'build'...
[01:59:03] Finished 'build' after 35 ms
[01:59:03] Starting 'sass-build'...
[01:59:03] Starting 'lang'...
[01:59:03] Finished 'lang' after 80 ms
events.js:85
throw er; // Unhandled 'error' event
^
Error: app.js: error: couldn't process source due to parse error
Unexpected token (50:8)