{ "id": "172621", "key": "TIMOB-26564", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-11-16T01:00:23.000+0000", "created": "2018-11-15T13:10:35.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [ { "id": "57003", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "170743", "key": "TIMOB-25650", "fields": { "summary": "Upgrade to babel 7", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "57035", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172622", "key": "TIMOB-26565", "fields": { "summary": "Windows: Building with hyperloop fails with \"traverse is not a function\"", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2018-11-20T21:58:51.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building for windows the following error is thrown, this is because of the changes made in TIMOB-25650. We can remove this code though as it is a backwards compat thing for hyperloop 2.x\r\n\r\n{code}\r\nError: Cannot find module 'babylon'\r\n\r\n at Function.Module._resolveFilename (module.js:547:15)\r\n\r\n at Function.Module._load (module.js:474:25)\r\n\r\n at Module.require (module.js:596:17)\r\n\r\n at require (internal/module.js:11:18)\r\n\r\n at Object. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\8.0.0.v20181114074027\\windows\\cli\\commands\\_build\\copy.js:10:12)\r\n\r\n at Module._compile (module.js:652:30)\r\n\r\n at Object.Module._extensions..js (module.js:663:10)\r\n\r\n at Module.load (module.js:565:32)\r\n\r\n at tryModuleLoad (module.js:505:12)\r\n\r\n at Function.Module._load (module.js:497:3)\r\n\r\n---------------------------------------------\r\n\r\n at C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\node-appc\\node_modules\\async\\dist\\async.js:2135:9\r\n\r\n at apply (C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\node-appc\\node_modules\\async\\dist\\async.js:21:25)\r\n\r\n at C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\node-appc\\node_modules\\async\\dist\\async.js:56:12\r\n\r\n at _insert (C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\node-appc\\node_modules\\async\\dist\\async.js:2248:9)\r\n\r\n at Object.push (C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\node-appc\\node_modules\\async\\dist\\async.js:2294:13)\r\n\r\n at Object.findExecutable (C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\node-appc\\lib\\subprocess.js:113:8)\r\n\r\n at resolveNode (C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\titanium\\lib\\titanium.js:97:34)\r\n\r\n at C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\titanium\\lib\\titanium.js:74:5\r\n\r\n at Object. (C:\\Jenkins\\workspace\\anium_mobile_windows_master-VEBTVBGZKPOIHZSZQD5XUBDGPM6Q4OEDUIMQP6TH2EZSWDMRL22Q\\titanium-mobile-mocha-suite\\node_modules\\titanium\\lib\\titanium.js:80:2)\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Build for Windows\r\n\r\nh5.Actual\r\n\r\nAbove error thrown\r\n\r\nh5.Expected\r\n\r\nNo error thrown", "attachment": [ { "id": "65878", "filename": "hyperloop-3.2.0-windows.zip", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-20T20:53:22.000+0000", "size": 2778282, "mimeType": "application/zip" } ], "flagged": false, "summary": "Windows: Cannot find module 'babylon' error thrown on build", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "SDK: 8.0.0.v20181114073331", "closedSprints": [ { "id": 1093, "state": "closed", "name": "2018 Sprint 23", "startDate": "2018-11-04T23:35:52.006Z", "endDate": "2018-11-18T23:35:00.000Z", "completeDate": "2018-11-19T05:30:34.338Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443643", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1322", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-11-15T13:50:15.000+0000", "updated": "2018-11-15T13:50:15.000+0000" }, { "id": "443666", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-16T01:00:23.000+0000", "updated": "2018-11-16T01:00:23.000+0000" }, { "id": "443789", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Just posted new hyperloop module so you can test this fix. [^hyperloop-3.2.0-windows.zip] ", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-20T20:54:07.000+0000", "updated": "2018-11-20T21:00:20.000+0000" }, { "id": "443795", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with hyperloop-3.2.0 and sdk 8.0.0.v20181120090229. able to build app successfully on windows device\r\n{code}\r\nTest Environment:\r\nName = Microsoft Windows 10 Pro \r\n Version = 10.0.17134 \r\n Architecture = 64bit \r\n Node.js \r\n Node.js Version = 8.9.1 \r\n npm Version = 5.5.1 \r\nTitanium CLI \r\n CLI Version = 5.1.1 \r\nTitanium SDK \r\n SDK Version = 8.0.0.v20181120090229 \r\nDevice \r\nLumia 650 dual sim \r\nMobile emulator 10.0.14393 1080p \r\n{code}", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-20T21:58:38.000+0000", "updated": "2018-11-20T21:58:38.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }