{ "id": "170092", "key": "AC-5303", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-10-24T07:39:30.000+0000", "created": "2017-10-23T16:45:40.000+0000", "labels": [ "eacces", "hyperloop" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-24T07:39:31.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15000", "name": "Hyperloop" } ], "description": "Projects started to fail compiling after Hyperloop upgrade to v2.2.0. In particular those that use ti.firebase. This may be related but I'm not sure. Anyway, I tried creating a new project (CLI) and building it, it compiled without problems, then I added this line to index.js:\r\n\r\n{code}var UIView = require('UIKit/UIView');{code}\r\nand this is the error I get when I try to compile (CLI with TRACE):\r\n\r\n{code}\r\n[INFO] Removing files\r\n[DEBUG] Removing empty directories\r\n[INFO] Starting Hyperloop assembly\r\n[TRACE] Forcing a metabase rebuild\r\n[TRACE] [Hyperloop] forcing generation of metabase to /Users/Fabi/Documents/Workspace/Titanium/Hello/build/hyperloop/ios/metabase-8.0-iphonesimulator-9b465e413386ce27e3a586bd622bf7f8.json\r\n[TRACE] [Hyperloop] running /Users/Fabi/Library/Application Support/Titanium/plugins/hyperloop/2.2.0/hooks/ios/node_modules/hyperloop-metabase/bin/metabase with -i /Users/Fabi/Documents/Workspace/Titanium/Hello/build/hyperloop/ios/metabase-8.0-iphonesimulator-9b465e413386ce27e3a586bd622bf7f8.h -o /Users/Fabi/Documents/Workspace/Titanium/Hello/build/hyperloop/ios/metabase-8.0-iphonesimulator-9b465e413386ce27e3a586bd622bf7f8.json -sim-sdk-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk -min-ios-ver 8.0 -pretty\r\n2017-10-23T16:28:36.711Z | ERROR | An uncaught exception was thrown!\r\nspawn EACCES\r\n2017-10-23T16:28:36.712Z | ERROR | spawn EACCES\r\n{code}\r\n\r\nI tried giving full recursive permissions to the /build folder, the /app folder and finally to the whole project folder but I always get the same error.\r\n\r\nAny suggestion is welcome! I'm really stuck here.\r\n\r\nUPDATE:\r\nThis is the error I mentioned related to ti.firebase in case you find it useful. It was compiling and working fine on Friday Oct 20th:\r\n\r\n{code}\r\n[TRACE] [Hyperloop] Generating includes for static framework GoogleToolboxForMac (/Users/Fabi/Documents/Workspace/Titanium/xxx/modules/iphone/ti.firebase/1.3.1/platform/GoogleToolboxForMac.framework)\r\n[TRACE] [Hyperloop] Static framework, parsing all header files\r\n2017-10-23T16:48:17.537Z | ERROR | An uncaught exception was thrown!\r\nENOENT: no such file or directory, scandir '/Users/Fabi/Documents/Workspace/Titanium/xxx/modules/iphone/ti.firebase/1.3.1/platform/GoogleToolboxForMac.framework/Headers'\r\n2017-10-23T16:48:17.538Z | ERROR | ENOENT: no such file or directory, scandir '/Users/Fabi/Documents/Workspace/Titanium/xxx/modules/iphone/ti.firebase/1.3.1/platform/GoogleToolboxForMac.framework/Headers'\r\n{code}\r\n\r\nUPDATE 2:\r\nI don't know why but I could compile the project after executing this: \r\n{code}chmod -R 777 “/Users/Fabi/Library/Application Support/Titanium/plugins/hyperloop”{code}\r\n", "attachment": [], "flagged": false, "summary": "Can't compile with Hyperloop 2.2.0 - EACCES error", "creator": { "name": "inzori", "key": "inzori", "displayName": "Fabian Martinez", "active": true, "timeZone": "America/Montevideo" }, "subtasks": [], "reporter": { "name": "inzori", "key": "inzori", "displayName": "Fabian Martinez", "active": true, "timeZone": "America/Montevideo" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.12.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 6.11.3\r\n npm Version = 3.10.10\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n\r\nTitanium SDK\r\n SDK Version = 6.2.2.GA\r\n Target Platform = iphone\r\n\r\nXCode 9.0.1\r\nHyperloop v 2.0.0", "comment": { "comments": [ { "id": "429486", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed in Hyperloop 2.2.1, see TIMOB-25426. Simple workaround:\r\n{code}\r\nchmod +x \"~/Library/Application Support/Titanium/plugins/hyperloop/2.2.0/hooks/ios/node_modules/hyperloop-metabase/bin/metabase\"\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-24T07:39:31.000+0000", "updated": "2017-10-24T07:39:31.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }