{ "id": "169112", "key": "TIMOB-25026", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-07-26T15:24:07.000+0000", "created": "2017-07-26T11:53:48.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-26T20:51:49.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": [], "description": "I just tried scons'ing master and received the following error:\r\n{code}\r\nHans-Macbook-Pro:build hknoechel$ node scons.js cleanbuild ios\r\nBuilding MobileSDK version 7.0.0, githash 74a87a2b83\r\nGenerating parity report...\r\nGenerating JSCA...\r\n[INFO] Parsing YAML files in /Users/hknoechel/Documents/titanium_mobile/apidoc...\r\n[INFO] Parsing YAML files in /Users/hknoechel/Documents/titanium_mobile/apidoc...\r\n[INFO] Processing YAML data...\r\n[INFO] Processing YAML data...\r\n[INFO] Annotating JSCA-specific attributes...\r\n[INFO] Generating PARITY output...\r\nGenerated output at ../dist/parity.html\r\n[INFO] Generating JSCA output...\r\nGenerated output at /Users/hknoechel/Documents/titanium_mobile/dist/api.jsca\r\nZipping Mobile SDK...\r\nCleaning previous zipfile and tmp dir...\r\nWriting manifest.json\r\nPruning to production npm dependencies\r\n\r\nnpm ERR! May not delete: /Users/hknoechel/Documents/titanium_mobile/dist/ziptmp/mobilesdk/osx/7.0.0/node_modules/.bin\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /Users/hknoechel/.npm/_logs/2017-07-26T11_52_27_638Z-debug.log\r\n\r\n{ Error: Command failed: npm prune --production\r\nnpm ERR! May not delete: /Users/hknoechel/Documents/titanium_mobile/dist/ziptmp/mobilesdk/osx/7.0.0/node_modules/.bin\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /Users/hknoechel/.npm/_logs/2017-07-26T11_52_27_638Z-debug.log\r\n\r\n at ChildProcess.exithandler (child_process.js:270:12)\r\n at emitTwo (events.js:125:13)\r\n at ChildProcess.emit (events.js:213:7)\r\n at maybeClose (internal/child_process.js:921:16)\r\n at Socket.stream.socket.on (internal/child_process.js:348:11)\r\n at emitOne (events.js:115:13)\r\n at Socket.emit (events.js:210:7)\r\n at Pipe._handle.close [as _onclose] (net.js:549:12)\r\n killed: false,\r\n code: 1,\r\n signal: null,\r\n cmd: 'npm prune --production' }\r\n{code}\r\nSame happening for Jenkins and it's the reason all PR's against master currently fail. No big deal, but should be investigated :-).", "attachment": [], "flagged": false, "summary": "Scons: Cannot build SDK with npm@5.3.0", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 925, "state": "closed", "name": "2017 Sprint 15 SDK", "startDate": "2017-07-16T14:40:47.191Z", "endDate": "2017-07-30T14:40:00.000Z", "completeDate": "2017-07-31T16:15:09.335Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "424776", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Known issue with npm@5.3.0, issue in their tracker here https://github.com/npm/npm/issues/17781. I guess we could enforce a certain npm version in the build scripts but honestly that seems more hassle than it's worth", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-26T13:05:42.000+0000", "updated": "2017-07-26T13:06:29.000+0000" }, { "id": "424781", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks Ewan! Using {{npm i -g npm@5.2}} should solve it temporarily!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-07-26T13:58:32.000+0000", "updated": "2017-07-26T13:58:32.000+0000" }, { "id": "424792", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate of TIMOB-25028, works now!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-07-26T15:24:07.000+0000", "updated": "2017-07-26T15:24:07.000+0000" }, { "id": "424839", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-26T20:51:49.000+0000", "updated": "2017-07-26T20:51:49.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }