{ "id": "174626", "key": "AC-6470", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2020-01-13T17:18:25.000+0000", "created": "2020-01-13T13:09:13.000+0000", "labels": [ "build", "cli", "module", "sdk", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-13T17:18:25.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Errors compiling new module:\r\nI have created new module, when I try to build ios or android version from module's folder (appc run -p ios --build-only) I get errors:\r\n\r\n{code:java}\r\nAn uncaught exception was thrown!\r\nThe \"path\" argument must be of type string. Received type undefined\r\n{code}\r\n\r\n\r\n{code:java}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.15.2\r\n Architecture = 64bit\r\n # CPUs = 12\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 10.18.1\r\n npm Version = 6.13.4\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.2\r\n\r\nTitanium SDK\r\n SDK Version = 8.2.1.GA\r\n SDK Path = /Users/username/Library/Application Support/Titanium/mobilesdk/osx/8.2.1.GA\r\n Target Platform = iphone\r\n\r\nCommand\r\n/usr/local/bin/node /Users/username/.appcelerator/install/7.1.2/package/node_modules/titanium/lib/titanium.js build --platform ios --log-level info --project-dir /mypath/test2/ios --build-only --config-file /var/folders/qg/ndq6t_0x5xg3v1r5wf8lfcxw0000gn/T/build-1578919034032.json --no-banner --project-dir /mypath/test2/ios\r\n{code}\r\n\r\n\r\n{code:java}\r\n2020-01-13T13:00:54.613Z | TRACE | TypeError [ERR_INVALID_ARG_TYPE]: The \"path\" argument must be of type string. Received type undefined\r\nat validateString (internal/validators.js:125:11)\r\nat Object.join (path.js:1147:7)\r\nat iOSModuleBuilder.validate (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/node-titanium-sdk/lib/builder.js:141:23)\r\nat iOSModuleBuilder.validate (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/iphone/cli/commands/_buildModule.js:42:29)\r\nat Object.exports.validatePlatformOptions (/Users/username/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/node_modules/node-titanium-sdk/lib/titanium.js:672:70)\r\nat /Users/username/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/cli/commands/build.js:261:23\r\nat /Users/username/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.GA/cli/commands/build.js:472:4\r\nat /Users/username/.appcelerator/install/7.1.2/package/node_modules/node-appc/lib/environ.js:278:4\r\nat ChildProcess.exithandler (child_process.js:285:7)\r\nat ChildProcess.emit (events.js:198:13)\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "URGENT! Titanium module build fail. The \"path\" argument must be of type string.", "creator": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "environment": null, "comment": { "comments": [ { "id": "453668", "author": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "body": "Please close it, solved reinstalling titanium sdk.", "updateAuthor": { "name": "otto.pic", "key": "otto.pic", "displayName": "Lorenzo Piccinini", "active": true, "timeZone": "Europe/Rome" }, "created": "2020-01-13T13:22:00.000+0000", "updated": "2020-01-13T13:22:00.000+0000" }, { "id": "453671", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Closing per comment", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-01-13T17:18:25.000+0000", "updated": "2020-01-13T17:18:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }