pegli/couchbase_ti — Issue #10: i am unable to build the project
Author: mcrippen
Created: 2012-01-18 23:46:31+00:00
State: open

i have followed the instructions on the wiki fully and i when i try to build the couchbooks i get a long list of errors.
[INFO] Compiling JavaScript...one moment
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at app.js:71
[WARN] JavaScript compiler reported "'callback' is already defined." at lib/couch_client.js:37
[WARN] JavaScript compiler reported "'n' is already defined." at lib/couch_client.js:38
[WARN] JavaScript compiler reported "'callback' is already defined." at lib/couch_client.js:84
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at lib/couch_client.js:135
[WARN] JavaScript compiler reported "'callback' is already defined." at lib/couch_client.js:147
[WARN] JavaScript compiler reported "Missing semicolon." at lib/couch_client.js:159
[WARN] JavaScript compiler reported "'callback' is already defined." at lib/couch_client.js:169
[WARN] JavaScript compiler reported "'path' is already defined." at lib/couch_client.js:170
[WARN] JavaScript compiler reported "'callback' is already defined." at lib/couch_client.js:187
[WARN] JavaScript compiler reported "'path' is already defined." at lib/couch_client.js:188
[WARN] JavaScript compiler reported "Extra comma." at lib/couch_client.js:210
[WARN] JavaScript compiler reported "Missing semicolon." at lib/couch_client.js:211
[WARN] JavaScript compiler reported "The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype." at lib/couch_client.js:229
[WARN] JavaScript compiler reported "['Authorization'] is better written in dot notation." at lib/couch_client.js:246
[WARN] JavaScript compiler reported "['username'] is better written in dot notation." at lib/couch_client.js:246
[WARN] JavaScript compiler reported "['password'] is better written in dot notation." at lib/couch_client.js:246
[WARN] JavaScript compiler reported "['Accept'] is better written in dot notation." at lib/couch_client.js:249
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at lib/couch_client.js:254
[WARN] JavaScript compiler reported "Missing semicolon." at lib/couch_client.js:260
[WARN] JavaScript compiler reported "Missing semicolon." at lib/couch_client.js:267
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at lib/couch_client.js:271
[WARN] JavaScript compiler reported "Extra comma." at lib/couch_client.js:273
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at lib/couch_client.js:278
[WARN] JavaScript compiler reported "The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype." at lib/couch_client.js:280
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at lib/couch_client.js:284
[WARN] JavaScript compiler reported "'_process_view_options' was used before it was defined." at lib/couch_client.js:289
[WARN] JavaScript compiler reported "The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype." at lib/couch_client.js:303
[WARN] JavaScript compiler reported "'_combine' was used before it was defined." at lib/couch_client.js:312
[WARN] JavaScript compiler reported "Missing semicolon." at lib/couch_client.js:315
[WARN] JavaScript compiler reported "'_pop_callback' was used before it was defined." at lib/couch_client.js:320
[WARN] JavaScript compiler reported "'_esc' was used before it was defined." at lib/couch_client.js:329
[WARN] JavaScript compiler reported "'_b64' was used before it was defined." at lib/couch_client.js:333
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/NavigationController.js:50
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at lib/NavigationController.js:53
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at lib/NavigationController.js:61
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'map'." at lib/state-machine.js:21
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'add'." at lib/state-machine.js:30
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'fsm'." at lib/state-machine.js:34
[WARN] JavaScript compiler reported "'name' is already defined." at lib/state-machine.js:37
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'fsm'." at lib/state-machine.js:39
[WARN] JavaScript compiler reported "Missing semicolon." at lib/state-machine.js:39
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'fsm'." at lib/state-machine.js:48
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/state-machine.js:59
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/state-machine.js:65
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/state-machine.js:71
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/state-machine.js:77
[WARN] JavaScript compiler reported "['onchangestate'] is better written in dot notation." at lib/state-machine.js:81
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/state-machine.js:83
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'throw'." at lib/state-machine.js:90
[WARN] JavaScript compiler reported "Missing semicolon." at lib/state-machine.js:90
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'throw'." at lib/state-machine.js:93
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/state-machine.js:102
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'this'." at lib/state-machine.js:115
[WARN] JavaScript compiler reported "'hasOwnProperty' is a really bad name." at lib/underscore.js:30
[WARN] JavaScript compiler reported "['_'] is better written in dot notation." at lib/underscore.js:66
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/underscore.js:79
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/underscore.js:84
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/underscore.js:89
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/underscore.js:99
[WARN] JavaScript compiler reported "Expected '{' and instead saw 'return'." at lib/underscore.js:100
[WARN] JavaScript compiler reported "Expected an identifier and instead saw 'void'." at lib/underscore.js:110
[WARN] JavaScript compiler reported "Stopping, unable to continue. (11% scanned)." at lib/underscore.js:110
[WARN] JavaScript compiler reported "Missing semicolon." at ui/books.js:28
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:33
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:57
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:65
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:75
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:81
[WARN] JavaScript compiler reported "'load_book_list' was used before it was defined." at ui/books.js:95
[WARN] JavaScript compiler reported "Bad for in variable 'i'." at ui/books.js:100
[WARN] JavaScript compiler reported "Expected an assignment or function call and instead saw an expression." at ui/books.js:105
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:115
[WARN] JavaScript compiler reported "The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype." at ui/books.js:100
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:126
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:150
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:156
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:163
[WARN] JavaScript compiler reported "The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype." at ui/books.js:200
[WARN] JavaScript compiler reported "Missing semicolon." at ui/books.js:205
[WARN] JavaScript compiler reported "'saveBook' was used before it was defined." at ui/books.js:211
[WARN] JavaScript compiler reported "Missing semicolon." at ui/books.js:218
[WARN] JavaScript compiler reported "Missing semicolon." at ui/books.js:219
[WARN] JavaScript compiler reported "'createDetailRow' was used before it was defined." at ui/books.js:228
[WARN] JavaScript compiler reported "Extra comma." at ui/books.js:231
[WARN] JavaScript compiler reported "Missing semicolon." at ui/books.js:234
[WARN] JavaScript compiler reported "Expected an identifier and instead saw ','." at ui/books.js:234
[WARN] JavaScript compiler reported "Stopping, unable to continue. (64% scanned)." at ui/books.js:234

it seems like something is not right, is there anything i can do? am i forgetting a step somewhere? please help!