[ALOY-118] alloy generate migration is crashing
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-07-23T06:40:39.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | XML |
| Labels | n/a |
| Reporter | Russell McMahon |
| Assignee | Unknown |
| Created | 2012-07-20T15:53:00.000+0000 |
| Updated | 2018-03-07T22:25:42.000+0000 |
Description
/usr/local/lib/node_modules/alloy/Alloy/commands/generate/targets/migration.js:12
Path = path.join(__dirname,'..','..','..','template','migration.' + CONST.FILE
^
ReferenceError: CONST is not defined
at module.exports (/usr/local/lib/node_modules/alloy/Alloy/commands/generate/targets/migration.js:12:82)
at generate (/usr/local/lib/node_modules/alloy/Alloy/commands/generate/index.js:30:34)
at Object. (/usr/local/lib/node_modules/alloy/Alloy/alloy.js:99:45)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object. (/usr/local/lib/node_modules/alloy/bin/alloy:3:1)
rmcmahonMBP:test7 rmcmahon$
constants and templates resolved and tested