Titanium JIRA Archive
Alloy (ALOY)

[ALOY-118] alloy generate migration is crashing

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-07-23T06:40:39.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsXML
Labelsn/a
ReporterRussell McMahon
AssigneeUnknown
Created2012-07-20T15:53:00.000+0000
Updated2018-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$

Comments

  1. Tony Lukasavage 2012-07-23

    constants and templates resolved and tested

JSON Source