[TIMOB-11568] Anvil: wrench is undefined in localMode.js
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-03-21T18:52:12.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.2.0 |
| Components | Anvil |
| Labels | n/a |
| Reporter | Jon Alter |
| Assignee | Ingo Muschenetz |
| Created | 2012-10-24T19:26:10.000+0000 |
| Updated | 2017-03-09T18:55:10.000+0000 |
Description
Running anvil the first time is fine, but once "/tmp/driver/logs/json_results" has been created, when you run anvil a second time, "wrench" is undefined in "localMode.js".
Pull Request: https://github.com/appcelerator/titanium_mobile/pull/3317
Would be awesome to get this in. At the moment it's not possible to run Anvil from a script. (The error occurs particularly when launching Anvil with "--command..." as opposed to in interactive mode.)
To reproduce this issue, I had to do the following: - Add 'this.customHarnessConfigDirs = [ "./anvil/configSet" ];' in your config.js - Clone the repo at https://github.com/appcelerator-modules/ti.cloud - Go into the ti.cloud/anvil directory - Run the command: 'node ~/titanium/titanium_mobile/anvil/driver/driver.js --mode=local --platform=ios --command="start"'
Closing ticket as fixed.