[ALOY-200] All apps without config.json fail at compile
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2012-09-24T19:00:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | XML |
Labels | n/a |
Reporter | Tony Lukasavage |
Assignee | Unknown |
Created | 2012-08-23T07:43:44.000+0000 |
Updated | 2018-03-07T22:25:51.000+0000 |
Description
Recent changes to the assembling of widget dependencies have broken all apps that do not contain a
config.json
file. The error thrown looks like this:
2012-08-23 10:34:41 -- [INFO ] Copying /usr/local/lib/node_modules/alloy/Alloy/lib/alloy.js to /Users/tlukasavage/Development/alloy/test/projects/Harness/Resources
2012-08-23 10:34:41 -- [INFO ] Creating directory: /Users/tlukasavage/Development/alloy/test/projects/Harness/app/models
2012-08-23 10:34:41 -- [INFO ] node.js:201
2012-08-23 10:34:41 -- [INFO ] throw e; // process.nextTick error, or 'error' event on first tick
2012-08-23 10:34:41 -- [INFO ] ^
2012-08-23 10:34:41 -- [INFO ] Error: ENOENT, no such file or directory '/Users/tlukasavage/Development/alloy/test/projects/Harness/app/config.json'
2012-08-23 10:34:41 -- [INFO ] at Object.openSync (fs.js:230:18)
2012-08-23 10:34:41 -- [INFO ] at Object.readFileSync (fs.js:120:15)
2012-08-23 10:34:41 -- [INFO ] at Object.getWidgetDirectories (/usr/local/lib/node_modules/alloy/Alloy/utils.js:129:19)
2012-08-23 10:34:41 -- [INFO ] at /usr/local/lib/node_modules/alloy/Alloy/commands/compile/index.js:112:25
2012-08-23 10:34:41 -- [INFO ] at Object.<anonymous> (/usr/local/lib/node_modules/alloy/Alloy/alloy.js:102:44)
2012-08-23 10:34:41 -- [INFO ] at Module._compile (module.js:441:26)
2012-08-23 10:34:41 -- [INFO ] at Object..js (module.js:459:10)
2012-08-23 10:34:41 -- [INFO ] at Module.load (module.js:348:31)
2012-08-23 10:34:41 -- [INFO ] at Function._load (module.js:308:12)
2012-08-23 10:34:41 -- [INFO ] at Module.require (module.js:354:17)
2012-08-23 10:34:41 -- [INFO ] at require (module.js:370:17)
2012-08-23 10:34:41 -- [INFO ] at Object.<anonymous> (/usr/local/lib/node_modules/alloy/bin/alloy:3:1)
2012-08-23 10:34:41 -- [INFO ] at Module._compile (module.js:441:26)
2012-08-23 10:34:41 -- [INFO ] at Object..js (module.js:459:10)
2012-08-23 10:34:41 -- [INFO ] at Module.load (module.js:348:31)
2012-08-23 10:34:41 -- [INFO ] at Function._load (module.js:308:12)
2012-08-23 10:34:41 -- [INFO ] at Array.0 (module.js:479:10)
2012-08-23 10:34:41 -- [INFO ] at EventEmitter._tickCallback (node.js:192:40)
2012-08-23 10:34:41 -- [ERROR] Alloy compile failed
2012-08-23 10:34:41 -- [ERROR] Error: Traceback (most recent call last):
2012-08-23 10:34:41 -- [INFO ] File "/Users/tlukasavage/Library/Application Support/Titanium/mobilesdk/osx/2.1.1.GA/iphone/builder.py", line 1115, in main
2012-08-23 10:34:41 -- [INFO ] p.compile(compiler_config)
2012-08-23 10:34:41 -- [INFO ] File "/Users/tlukasavage/Development/alloy/test/projects/Harness/plugins/ti.alloy/plugin.py", line 46, in compile
2012-08-23 10:34:41 -- [INFO ] sys.exit(retcode)
2012-08-23 10:34:41 -- [INFO ] SystemExit: 1
No comments