{ "id": "161367", "key": "TIMOB-25010", "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": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-24T19:24:17.000+0000", "created": "2016-06-26T20:12:15.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "linux", "nodejs", "npm", "windows" ], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-08-06T17:49:35.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": "10207", "name": "Tooling" } ], "description": "When trying to install the node packages with {{npm install}} on Linux and Windows. It will stop because it has a {{node-ios-device}} dependency. \r\n\r\nThe error when installing {{node-ios-device}} is:\r\n\r\n\r\n{code:java}\r\nnpm ERR! Linux 4.5.7-200.fc23.x86_64\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"install\" \"node-ios-device\"\r\nnpm ERR! node v4.2.2\r\nnpm ERR! npm v2.14.7\r\nnpm ERR! code EBADPLATFORM\r\n\r\nnpm ERR! notsup Unsupported\r\nnpm ERR! notsup Not compatible with your operating system or architecture: node-ios-device@0.9.5\r\nnpm ERR! notsup Valid OS: darwin\r\nnpm ERR! notsup Valid Arch: any\r\nnpm ERR! notsup Actual OS: linux\r\nnpm ERR! notsup Actual Arch: x64\r\n{code}\r\n\r\n\r\nSDK 6.0.0 (git 26.06.2016)\r\nFedora Linux\r\n", "attachment": [], "flagged": false, "summary": "nodejs build script: npm install failing on linux and windows", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 6.0.0\r\nnpm 2.14.7\r\nnodejs 4.2.2", "closedSprints": [ { "id": 924, "state": "closed", "name": "2017 Sprint 15 Tooling", "startDate": "2017-07-16T14:53:58.236Z", "endDate": "2017-07-30T14:53:00.000Z", "completeDate": "2017-07-31T16:11:03.555Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "389160", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Appcelerator support for Linus is revoked. Please ask nodsjs support in their community.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-06-27T19:33:36.000+0000", "updated": "2016-06-27T19:33:36.000+0000" }, { "id": "424565", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Please reopen this ticket again. This problem is affecting windows,too. Since the node_modules folder is not included with Ti SDK 7 anymore you have to run {{npm install}} now. On Windows and Linux it will fail because ioslib is a dependency in the package.json:\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/package.json#L38\r\n\r\nThis will fail because {{node-ios-device}} is {{darwin}} only! If you move the dependency to an optionalDependency it will warn you but continue to install the other modules:\r\n\r\n{code}\r\n \"optionalDependencies\":{\r\n \"ioslib\": \"^1.4.9\"\r\n }\r\n{code}", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-07-22T21:10:58.000+0000", "updated": "2017-07-22T21:10:58.000+0000" }, { "id": "424577", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9242", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-24T13:26:33.000+0000", "updated": "2017-07-24T13:26:33.000+0000" }, { "id": "424615", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Stealing ticket from [~gmathews].", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-07-24T19:20:41.000+0000", "updated": "2017-07-24T19:20:41.000+0000" }, { "id": "424616", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixed by TIMOB-25016.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-07-24T19:24:17.000+0000", "updated": "2017-07-24T19:24:17.000+0000" }, { "id": "440230", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:35.000+0000", "updated": "2018-08-06T17:49:35.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }