Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26343] Hyperloop - When trying to compile an app it crashes on missing src directory

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2019-08-16T15:10:10.000+0000
Affected Version/sRelease 7.3.1
Fix Version/sn/a
ComponentsHyperloop, iOS
LabelsengSchedule, hyperloop, ios
ReporterRene Pot
AssigneeJan Vennemann
Created2018-08-29T09:42:14.000+0000
Updated2019-08-16T15:10:10.000+0000

Description

When trying to compile an app with Hyperloop used in the application (in my case the hyperloop-examples app) the compilation stops at the following line:
[TRACE] :  [Hyperloop] Using cached CocoaPods metadata.
No further logs are shown. However, when you lower the log level to debug, you see the error
2018-08-29T09:39:30.471Z | ERROR  | An uncaught exception was thrown!
ENOENT: no such file or directory, scandir '/Users/renepot/Documents/Appcelerator_Studio_Workspace/hyperloop-examples/src'
*Expected solution* The solution in any issue like this should be simple, if the src directory doesn't exist, it should create it. *How to reproduce* Remove the src directory, re-compile. *How to manually fix it* Create the src directory manually and it compiles again.

Comments

  1. Hans Knöchel 2018-08-29

    For hyperloop-examples, it crashes because it is referenced in the [appc.js](https://github.com/appcelerator/hyperloop-examples/blob/master/.appc.js#L48-L50) file. Side-note: I noticed [~gmathews] renamed "appc.js" to ".appc.js" (an invisible file) 6 days ago. Did I miss something here? [~jvennemann]?
  2. Ewan Harris 2018-08-29

    For the renaming it's probably due to CLI-1038, appc.js is not friendly for any developers using the command line on Windows, rather than point the finger at Windows and close as "Wont Fix" we should really fix the issue longterm, using .appc.js at least makes hyperloop-examples usable on Windows for now.

JSON Source